TTMSFNCCustomDataGridDatabaseAdapter.DeleteRow Method
Deletes the dataset record shown in a grid row.
API unit family: TMSFNCDataGridDatabaseAdapter
Declaring type: TTMSFNCCustomDataGridDatabaseAdapter
Syntax
procedure DeleteRow(ARow: Integer); override;
virtual void __fastcall DeleteRow(int ARow);
Remarks
Moves the dataset to the row's record, calls TDataSet.Delete, and reloads the grid. Does nothing when the row is not a data row (see IsValidDataRow) or while the dataset is in edit or insert mode.
Parameters
| Name | Description |
|---|---|
ARow |
Grid row index of the record to delete. |