Browse by category:
|| | ||
What is the difference between floating cells,merge cells and covered cells?
Floating Cells (not available in Objective Grid Lite)
If you enable the Floating Cells feature, cells will automatically grow over neighboring empty cells while the user enters long text into a cell. If you programmatically assign text to cells with SetValueRange(), cells will also automatically grow over neighboring empty cells.
Floating Cells can be enabled and disabled for individual cells with SetStyleRange() and CGXStyle::SetFloatCell() and CGXStyle::SetFloodCell().
The Floating Cells feature can be enabled with CGXGridCore::SetFloatCellsMode().
Merge Cells (not available in Objective Grid Lite)
If you enable the Merge Cells feature, neighboring cells will automatically joined if they have equal values. This feature is very useful for creating reports. Suppose you display a record set in a grid and you want to group it by the left-most column. If you enable Merge Cells for this grid, cells in the left most column that have the same value will be joined together.
Use Covered Cells if you want to display information that is too large to fit in a cell. For example, if you want to display a chart in a grid or a big headline that should be drawn over several rows and columns, use a covered cell. Covered Cells do not grow and shrink automatically like Floating or Merge Cells. You have to specify covered cells manually with the SetCoveredCellsRowCol() method.
|Objective Grid: Transferring data between a grid and a document||Objective Grid: Restricting printing to one page|