TcxCustomDataController.DeleteRecord(Integer) Method
Deletes a data record referenced by a record index (in unbound or provider mode only).
Declaration
procedure DeleteRecord(ARecordIndex: Integer);
Parameters
Name | Type |
---|---|
ARecordIndex | Integer |
Remarks
The record index is a unique value assigned to every data record in a data controller. The visual record order can change due to sorting applied. However, record indexes always refer to the same data regardless of record positions.
See the DeleteFocused and DeleteSelection methods to delete the focused and selected rows respectively. They allow you to delete data records and grouping rows in all loading modes.
See Also