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.SelectAll Method

In This Article

Selects all potentially visible rows in the current data controller.

#Declaration

Delphi
procedure SelectAll; virtual;

#Remarks

The SelectAll method selects all potentially visible rows (data records and grouping rows currently visible or available via scrolling). This method is in effect only when MultiSelect property is set to True.

You can select only potentially visible rows. Thus, rows belonging to a data group being collapsed are automatically unselected.

To select individual rows, see the ChangeRowSelection and SelectRows methods.

Controls using data controllers to retrieve data from a data source provide events to control row selection. In ExpressQuantumGrid, for instance, you can handle a View’s OnSelectionChanged event for this purpose.

The MultiSelect topic provides more information on selecting rows in a data controller.

See Also