Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxCustomGrid6 SelectedRow

SelectedRow

Specifies absolute index of currently selected row. When grid is focused (and HideSelection is False), selected row is highlighted.

pas
property SelectedRow: Integer read GetSelectedRow write SetSelectedRow;

Example

pas
NextGrid61.Cell[2, NextGrid61.SelectedRow].Color := clRed;

Remarks

When InsertSelected property is set to True, SelectedRow is set to -1 automatically.

Files

Sign in