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.


Thread ID:





1180 Oct 2,2002 05:27 AM Oct 4,2002 04:47 AM Windows Forms 4
Tags: GridControl
Cyrille Claustre
Asked On October 2, 2002 05:27 AM

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 01:14 PM

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 01:53 AM

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 01:35 AM

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

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

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


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.