Library Vcl NextSuite 6 NextVirtualGrid6 Reference Classes TNxVirtualCellSource6 OnGetRowCount

OnGetRowCount

Provides RowCount to a connected grid.

pas
property OnGetRowCount: TNxGetRowCountEvent read FOnGetRowCount write FOnGetRowCount;

Example

pas
function TForm1.NxVirtualCellSource61GetRowCount(Sender: TObject): Integer;
begin
  Result := PersonsData.PersonCount;
end;

Sign in