JS
Jeba S
Syncfusion Team
April 30, 2007 06:39 AM UTC
Hi Mitul,
Please refer this sample:
C:\Program Files\Syncfusion\Essential Studio\Version Number\windows\Grid.Windows\Samples\Performance\OneTimeOnlyQueryCellInfo
In the sample QueryCellInfo is only called once for a cell. Then it gets stored in the same style cache that we used in GridNonVirtualVolatileData class and after a cell was initialized the QueryCellInfo event will not be raised again for that cell.
For GridGroupingGrid, you could try GridGroupingGrid.Engine.AllowCacheStyles and Enable this flag if you want GridRecordRow and GridCaptionRow elements to keep a cache with style information for individual cells and reduce the number of QueryCellStyleInfo calls being raised for these cells.
Kindly let us know if this helps.
Best Regards,
Jeba.