Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomDataController.DeleteSelection Method

In This Article

Deletes selected rows from a data controller.

#Declaration

Delphi
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