Objective Grid: Floating, merge, and covered cells

Article ID: 481
Last updated: 22 Jun, 2018
Article ID: 481
Last updated: 22 Jun, 2018
Revision: 3
Views: 3786
Posted: 24 Jan, 2001
by Meltreger B.
Updated: 22 Jun, 2018
by Meltreger B.

Problem


What is the difference between floating cells,merge cells and covered cells?
 


Cause



Action


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.


Covered Cells

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.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 481
Last updated: 22 Jun, 2018
Revision: 3
Views: 3786
Posted: 24 Jan, 2001 by Meltreger B.
Updated: 22 Jun, 2018 by Meltreger B.

Others in this category