CGXGridCore::DelayFloatCells
void DelayFloatCells(const CGXRange& range, ROWCOL nMaxCol = GX_INVALID);
range
Specifies the range of cells where floating cells shall be recalculated.
nMaxCol
You will normally not have to change this parameter. If you specify nMaxCol not equal to GX_INVALID, DelayFloatCells will loop through all delayed ranges and check if any range is going beyond column nMaxCol. If yes, the range will be cut at nMaxCol. Objective Grid uses this parameter when columns have been removed.
Remarks
Call DelayFloatCells when you want to recalculate floating cells.
Typical examples for calling this function are:
- When you want all cells to be reevaluated. For example, if you have changed the standard font, call
DelayFloatCells(CGXRange().SetTable());
- When you want some specific columns to be reevaluated call
DelayFloatCells(CGXRange().SetCols(nFromCol, nToCol));
All grid operations (resizing columns, changing the styles of cells, hiding columns, etc.) take care of properly calling DelayFloatCells. You will have to call this function very rarely.
The evaluation of floating cells is done on demand with the method EvalFloatCells when the user scrolls though the grid.
Control-Factory Specific ->
This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementFloatCells method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.
If no concrete implementation is available this method performs no action.
END Control-Factory Specific
See Also
CGXGridCore::SetFloatCellsMode CGXGridCore::EvalFloatCells