Setting the grid.Binder.OptimizeListChangedEvent to true will greatly increase the 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 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 signaled. 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).
//indicates whether to use the IBindingList.ListChanged instead of the CurrencyManager change events
this.grid.UseListChangedEvent = this.useOptimizedListChangedEvent;
'indicates whether to use the IBindingList.ListChanged instead of the CurrencyManager change events
Me.grid.UseListChangedEvent = Me.useOptimizedListChangedEvent
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|