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

OptimizeListChangedEvent

Thread ID:

Created:

Updated:

Platform:

Replies:

12947 Apr 15,2004 07:08 PM UTC Apr 15,2004 09:41 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On April 15, 2004 07:08 PM UTC

Hi Clay, I found in some samples the following code: //Listen to the IBindingList.ListChanged events instead of the //CurrencyManager events. this.customerGrid1.Binder.OptimizeListChangedEvent = true; What does this exactly change und in which case it makes sense? Regards, Thomas

Administrator [Syncfusion]
Replied On April 15, 2004 09:41 PM UTC

It will greatly increase performance in most cases of binding a IBindingList datasource(including DataTable) to a GridDataBoundGrid. When this property is set, the grid listens and responds directly to the IBindingList.ListChanged event instead of to CurrencyManager change events. The information provided by the ListChanged event is more specific based on the ListChangedType, and allows the grid to more efficiently respond to the action being signalled. With the CurrencyManager events, sometimes the whole grid might get refreshed instead of maybe only a row passed through the ListChanged event. If you are inserting/deleting lots of records, the performance gains can be significant (~10 to 20 times quicker).

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

;