Skip to main content

TcxCustomDataController.SelectAll Method

Selects all potentially visible rows in the current data controller.

Declaration

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