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

GridQueryCellInfo called continuously in VirtualGrid

Thread ID:





76487 Sep 9,2008 12:50 PM UTC Sep 10,2008 09:15 AM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On September 9, 2008 12:50 PM UTC

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

SubhaSheela R [Syncfusion]
Replied On 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.



Please let me know if you have any queries.

Subhasheela R


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