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

Refresh

Thread ID:

Created:

Updated:

Platform:

Replies:

1180 Oct 2,2002 09:27 AM UTC Oct 4,2002 08:47 AM UTC Windows Forms 4
loading
Tags: GridControl
Cyrille Claustre
Asked On October 2, 2002 09:27 AM UTC

Somtimes the grid doesn't refresh correctly (after column add/remove for example). Moreover, I encountered problems when deleting some columns one by one, but in the same method, without calling any refresh method between each deletion. Thank you.

Administrator [Syncfusion]
Replied On October 2, 2002 05:14 PM UTC

Are you using the 1.1 version? If you are sequentially removing several rows, you may want to sandwich the code that removes the rows between calls to GridControl.BeginUpdate and GridControl.EndUpdate. This will avoid unnecessary drawing that may lead to a 'jerky' display.

Cyrille Claustre
Replied On October 3, 2002 05:53 AM UTC

I tried BeginUpdate / EndUpdate, but in fact I may have problems with the events sequence. I'm trying to look further in my code.

Cyrille Claustre
Replied On October 4, 2002 05:35 AM UTC

Does the Refresh() method has effect when called between BeginUpdate() and EndUpdate() ?

Administrator [Syncfusion]
Replied On October 4, 2002 08:47 AM UTC

Any grid drawing between the BegiUpdate and EndUpdate is at best deferred, or maybe ignored entirely depending upon the parameter you pass to EndUpdate.

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

;