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

TcxCustomGridTableController.DeleteSelection Method

In This Article

Deletes selected records within the current View.

#Declaration

Delphi
procedure DeleteSelection; virtual;

#Remarks

If the View’s OptionsSelection.MultiSelect property is set to True, a grid View allows you to select multiple records. These records can be accessed via the SelectedRecords collection (when GridMode is not used) and the View’s DataController.GetSelectedBookmark function (in grid mode applied to a data-aware View).

Use the DeleteSelection method to delete selected records. You can refer to the Focused/Selected Records and Selecting Records sections for more information.

See Also