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.

GridQueryCellInfo called continuously in VirtualGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

76487 Sep 9,2008 08:50 AM Sep 10,2008 05:15 AM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 9, 2008 08:50 AM

I'm using a virtual grid which displays correctly but GridQueryCellInfo is called endlessly causing performance problems.

Any idea what is causing GridQueryCellInfo events to be raised.


Administrator [Syncfusion]
Replied On September 10, 2008 02:25 AM

The VirtualGrid component is docked on a split container. When I move the splitter the rows for which the GridQueryCellInfo event is raised changes. Also if I put another window (IE say) in front of my app then the GridQueryCellInfo events stop.

Can anyone shed any light on this?


SubhaSheela R [Syncfusion]
Replied On September 10, 2008 05:15 AM

Hi Brain,

Thanks for your interest in Syncfusion products.

QueryCellInfo is hit anytime the grid needs a cell style for any reason. So QueryCellInfo is hit prior to PrepareViewStyleInfo, and may be hit for other reasons than preparing the style for drawing. If you use code like grid[row, col], then QueryCellInfo is hit, but PrepareViewStyleInfo is not hit. So, if you are setting a style property that may be of use to you for something other than be drawn a certain way, then you should use QueryCellInfo to set the property dynamically.

You can also refer the below forum threads for more details.

http://www.syncfusion.com/support/Forums/message.aspx?MessageID=32133

http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=24997

Please let me know if you have any queries.

Regards,
Subhasheela R




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.

;