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.
Syncfusion Feedback

Detecting start and end of series of GridQueryCellInfo calls.

Thread ID:

Created:

Updated:

Platform:

Replies:

12734 Apr 9,2004 03:30 PM UTC Apr 12,2004 02:45 PM UTC Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On April 9, 2004 03:30 PM UTC

Hi. I have a virtual grid that displays data which needs periodic updating. To refresh the data, I just invalidate the grid. What I''d like to do is display an hourglass cursor (or even better yet, a progress meter) during the time that the grid is requesting new cell info. Are there any events fired just prior to and just after the grid control makes a series of GridQueryCellInfo calls? Thanks, Andy

Administrator [Syncfusion]
Replied On April 9, 2004 09:05 PM UTC

There are no events fired. You could try deriving the grid and overriding OnDrawClientRowCol. In your override, you could start your hour glass before calling the baseclass, and then turn it off after your call to the baseclass. To get a progress bar would take more work along the same lines. In your OnDrawClientRowCol override, you can get the limits that are being drawn. Then somewhere else, you would have to use these limits to update the progressbar values. (Maybe in OnCellDrawn for instance.)

Administrator [Syncfusion]
Replied On April 12, 2004 02:45 PM UTC

Clay, Thanks for the ideas. I''ll play around with them some and see what I come up with. I think I''d like to add to the wish-list that in some future version, you guys add events for the start and end of a series of GQCI calls. If possible. Thanks again, Andy >There are no events fired. > >You could try deriving the grid and overriding OnDrawClientRowCol. In your override, you could start your hour glass before calling the baseclass, and then turn it off after your call to the baseclass. > >To get a progress bar would take more work along the same lines. In your OnDrawClientRowCol override, you can get the limits that are being drawn. Then somewhere else, you would have to use these limits to update the progressbar values. (Maybe in OnCellDrawn for instance.)

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.

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

;