TcxCustomDataController.ClearSelection Method
Unselects all rows in a data controller.
Declaration
procedure ClearSelection;
Remarks
A data controller enables you to select rows (data records and grouping rows).
To enable multiple selection of rows, set the MultiSelect property to True. In this case, you can use the ChangeRowSelection, SelectAll and SelectRows methods to select rows.
If MultiSelect is False, you are not able to select multiple rows.
The ClearSelection method clears the selection state of all selected rows. ClearSelection is in effect only when MultiSelect is set to True. To delete selected rows, use the DeleteSelection method.
The number of selected rows is determined by the GetSelectedCount method. See the MultiSelect description for more information.
See Also