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.

4 QueryCellInfo on refresh

Thread ID:

Created:

Updated:

Platform:

Replies:

92374 Jan 11,2010 07:09 AM Jan 20,2010 12:30 AM Windows Forms 3
loading
Tags: GridControl
Kamil Dworakowski
Asked On January 11, 2010 07:09 AM

Hi,

When I attach a handler for QueryCellInfo event, and set float cells mode like this:

grid.Model.Options.FloatCellsMode = GridFloatCellsMode.BeforeDisplayCalculation

the handler is called four times for each cell on a refresh. We have already figured out that surrounding it with Begin- and EndUpdate takes it down to two. How do we take it down to 1 call per cell though?

See the attachment for repro. It needs to be run with ironpython interpreter, and need to edit the PATH_TO_SYNCFUSION_DLLS constant inside the script to point to the right directory.

Regards,
Kamil Dworakowski



repro_286c5bc5.zip

Lingaraj S [Syncfusion]
Replied On January 12, 2010 09:36 AM

Hi Kamil,

Thank you for your interest in Syncfusion products.

Please refer the below forum thread, similar kind of behavior has been discussed.
http://www.syncfusion.com/support/forums/grid-windows/89652/Re--issue-in-GridQueryCellInfoEventHandler

Please let me know if it helps.

Regards,
Lingaraj S.

Kamil Dworakowski
Replied On January 15, 2010 06:41 AM

If I understand you correctly, you advise me to add a cacheing level on my own. Thanks anyway.

Lingaraj S [Syncfusion]
Replied On January 20, 2010 12:30 AM

Hi Kamil,

Thank you for the update.

Sorry for the delay. In that kind of case base.QueryCellInfo event calling is prevented when cell not contains in GridControl visible range.

To be more clear the QueryCellInfo event is only triggered by the grid for a particular cell, whenever the cell information is needed by GridControl.

Please let me know if you have any other concerns.

Regards,
Lingaraj S.

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.

;