virtual void DeleteRows(const CRowColArray& awRowStart, const CRowColArray& awRowEnd);
void DeleteRows(ROWCOL nFromRow, ROWCOL nToRow);
void DeleteRows(const CGXRange& range);
awRowStart
Reference to an array of ROWCOL attributes which holds the first row of each range to be deleted.
awRowEnd
Reference to an array of ROWCOL attributes which holds the last row of each range to be deleted.
nFromRow
Specifies the first row in the range of cells which should be deleted.
nToRow
Specifies the last row in the range of cells which should be deleted.
range
Specifies the range of cells to be deleted.
Call this method if you want to delete rows from the grid. You need not select a range of rows before calling this method because you can directly specify the range of rows to be deleted.
DeleteRows will loop through the specified array of rows and delete them from the data source.
If you have derived your own class from CGXDBEGrid and bound it to an external data source, and if you want to support deleting rows in your bound data source, you should override the virtual variant of DeleteRows.
The other two variants are simple wrappers for the virtual variant. They simplify calling this method.
Class Overview | Class Members