Skip to main content

TcxCustomDataController.DeleteSelection Method

Deletes selected rows from a data controller.

Declaration

procedure DeleteSelection; virtual;

Remarks

This method deletes all selected rows (data records and grouping rows) from your data controller.

The MultiSelect property specifies whether multiple rows selection is enabled. If MultiSelect is False, there can be only one selected row (the focused row). In this mode, the SyncSelected method allows you to specify whether the focused record should be selected.

If MultiSelect is True, you are able to select multiple rows by the ChangeRowSelection, SelectRows and SelectAll methods.

See Also