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.
property RowCount: Integer read GetRowCount write SetRowCount default 0;Example
for i := 0 to NextGrid61.RowCount - 1 do
begin
NextGrid61.Cell[2, i].AsInteger := 0;
end;