AD
Administrator
Syncfusion Team
April 27, 2006 01:06 PM UTC
Hi Rasmus,
The best way to do this would be calling the grid.BeginUpdate() and grid.Binder.SuspendBinding() before you modify the underlying DataSource and call grid.Binder.ResumeBinding() and grid.EndUpdate() after that.
SuspendBinding and ResumeBinding are two methods that allow the temporary suspension and resumption of data binding. You would typically suspend data binding if you want to make several changes to the data source without immediately updating the grid after each change. The attached sample shows how to update the underlying DataSet in order to reflect the changes that the user applies to the Grid.
Here is a sample.
http://www.syncfusion.com/Support/user/uploads/DataBoundGrid_12123f5.zip
For more details, See the KB Article
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=99
http://www.syncfusion.com/Support/article.aspx?id=10443
Please let me know if you need any further assistance.
Thanks for choosing Syncfusion Products.
Best Regards,
Haneef