Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxCustomGrid6 RowCount

RowCount

Returns total number of rows in grid. In NextGrid6 it includes visible, hidden, collapsed and filtered rows. In NextDBGrid6 it returns number of records in TDataSet.

pas
property RowCount: Integer read GetRowCount write SetRowCount default 0;

Example

pas
for i := 0 to NextGrid61.RowCount - 1 do
begin
  NextGrid61.Cell[2, i].AsInteger := 0;
end;

Sign in