TcxCustomDataController.IsRowSelected(Integer) Method
Returns a value indicating whether a particular row is selected.
Declaration
function IsRowSelected(ARowIndex: Integer): Boolean;
Parameters
Name | Type |
---|---|
ARowIndex | Integer |
Returns
Type |
---|
Boolean |
Remarks
The IsRowSelected function returns True if the particular row (a data record or a grouping row) is selected. Otherwise, it returns False. The ARowIndex parameter specifies a row by its index, i.e. its position within the data controller.
The number of selected rows is determined by the GetSelectedCount function. To access selected rows, you can use the GetSelectedRowIndex function (in provider, unbound and default bound modes) and GetSelectedBookmark (in grid mode).
To iterate selected rows, the ForEachRow method can be applied.
See the MultiSelect property for more details.
See Also