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.
Unfortunately, activation email could not send to your email. Please try again.

One time query cell style info

Thread ID:

Created:

Updated:

Platform:

Replies:

60171 Apr 29,2007 07:06 AM Apr 30,2007 02:39 AM Windows Forms 1
loading
Tags: Grouping
Mitul
Asked On April 29, 2007 07:06 AM

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.

Jeba S [Syncfusion]
Replied On April 30, 2007 02:39 AM

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.


CONFIRMATION

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.

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.

;