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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

One time query cell style info

Thread ID:





60171 Apr 29,2007 11:06 AM UTC Apr 30,2007 06:39 AM UTC WinForms 1
Tags: Grouping
Asked On April 29, 2007 11:06 AM UTC

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)?


Jeba S [Syncfusion]
Replied On 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,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon