We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

One time query cell style info

Is there an event like query cell style info that only occurs once on load up?

If not, how can i set the style of something just once and not repeatidly (as in query cell style info)?

Thanks.

1 Reply

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.


Loader.
Live Chat Icon For mobile
Up arrow icon