Is it possible to subclass the grid control to make a virtual grid control. I basically want to reuse a virtual grid in a bunch of places and would like to just reference it as myVirtualGrid.
I am having issues with overriding the querycell count and querycell info.
The querycellcount never gets called and the grid appears to have only 100 rows. Also the OnQueryCellInfo gets called but the display shows the row 1 data over and over again (even though debug mode its getting set fine).
ADAdministrator Syncfusion Team May 11, 2004 05:37 PM UTC
Nevermind I forgot to call ResetVolatileData
ADAdministrator Syncfusion Team May 11, 2004 05:48 PM UTC
After you have created the instance of your derived grid, make sure you call myDerivedGrid.ResetVolatileData(). This should force OnQueryColCount and OnQueryRowCount to be hit.
Here is a minimal sample that seems to work OK.