Skip to main content

TcxGridTableController.SelectedRows Property

Provides indexed access to selected rows within the current View.

Declaration

property SelectedRows[Index: Integer]: TcxCustomGridRow read;

Property Value

Type
TcxCustomGridRow

Remarks

Use the SelectedRows property to access selected rows within the current View when the grid is in default mode (GridMode is False).

Records within a (Banded) Table View are represented as rows. SelectedRows is just a wrapper for the SelectedRecords property which returns TcxCustomGridRecord objects. The SelectedRows property casts an object returned by SelectedRecords to TcxCustomGridRow class. So the difference between these properties is the type of objects returned.

Refer to the SelectedRecords for details on selected rows.

See Also