<< Return to Main Index

< Return to Class Index

CGXGridCore::StoreInsertRows

virtual BOOL StoreInsertRows(ROWCOL nRow, ROWCOL nCount, BOOL bProcessed = FALSE);?

nRow

Specifies the row id.

nCount

Specifies the number of rows to be inserted.

bProcessed

Specifies if inserting rows has been processed in an overridden method. You should set this value to TRUE when you call the base-class version.

Return Value

TRUE if data have been actualized; it is FALSE if inserting rows is not supported.

Remarks

Overridable method which inserts rows into the data-structure.

You should override this method if you do maintain the data in your own classes.

Please note that if you do override this method, you should call the base-class version of this method setting bProcessed to TRUE. See StoreInsertCols for an example.

The base-class version inserts rows into the internal row-heights-map, the selected ranges-list, the covered cells-list and the cell formattings-map.

See Also

CGXGridCore::StoreInsertCols

CGXGridCore

Class Overview | Class Members