TCustomGrid.ClearRows function
Clears the cached fixed rows and row count values for the grid control.
Declaration
function ClearRows: BooleanFunction result
True if the rows are cleared in the method.Description
ClearRows is a
Boolean function used to remove all rows
in the grid control. This includes the fixed row for the control. The return
value is
True if rows are successfully cleared in the method. It is
False if the grid is already empty.
ClearRows sets EditorMode to False if a cell editor is visible on the grid control. It sets values in the FixedRows and and RowCount properties to 0 (zero).
It does not change values in the FixedCols or ColCount properties.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
