Library Vcl NextSuite 6 NextVirtualGrid6 Articles Quick Start Implementing events

Implementing events

NxVirtualCellSource6 includes several events that can be implemented in order to provide important information back to the grid.

In order to show any data, OnGetCell and OnGetRowCount events need to be implemented.

OnGetRowCount event require number of rows as a result. That value will be used for specifying Max value for the vertical scroll bar and used for internal drawing loop.


Result := FProductsRepository.ProductCount;

Sign in