Virtual Grid Demo

A Virtual grid enables the quick display of large data sources.

This sample illustrates the binding of a grid to an external data source so that no data actually resides in the grid. The data is provided to the grid on-demand through an event that allows furnishing requested data in the handler.

Virtual Grid screenshot

Features

In its event handler, the sample sets the count to 30,000. Returning 30 million would be just as simple.

You can change the cell type, background color, alignment, or any other style by setting it inside the QueryCellInfo event handler.

In its event handler, the sample sets the row height for every second row to be 25 pixels.