Using Virtual Grids
For basic virtual grid behavior, you must handle these events:
GetStyleRowCol StoreStyleRowCol You can also make the following choices:
You can choose to control the size of the grid in virtual mode by overriding the
GetRowCount and
GetColCount methods.
You can choose to derive a new class from
GridControl and override
OnGetStyleRowCol,
OnStoreStyleRowCol, and optionally,
GetRowCount and
GetColCount.
If you do not want to control the size of the grid in virtual mode, you can simply attach delegates to the GetStyleRowCol and StoreStyleRowCol events.
You can choose how much of the grid’s style information you want to store to and retrieve from your own data structures. Many virtual grid applications choose to store only the value property of the cell style (the cell’s text). However, you are free to store as much of the additional style information as is appropriate for your application.