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

GridQueryCellInfo called continuously in VirtualGrid

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.


2 Replies

AD Administrator Syncfusion Team September 10, 2008 06:25 AM UTC

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?



SR SubhaSheela R Syncfusion Team September 10, 2008 09:15 AM UTC

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




Loader.
Live Chat Icon For mobile
Up arrow icon