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

Recommended approach for loading / updating data to the grid?

Thread ID:

Created:

Updated:

Platform:

Replies:

11073 Feb 23,2004 12:55 PM UTC Feb 23,2004 03:05 PM UTC Windows Forms 2
loading
Tags: GridControl
Peter
Asked On February 23, 2004 12:55 PM UTC

What is your recommended approach for loading / updating the datasource. calling databoundgrid.BeginLoadData() still does not suspend the grid. What is the best approach for accomplishing this? tia, Peter

Administrator [Syncfusion]
Replied On February 23, 2004 01:31 PM UTC

I am not sure what you want to suspend. There is no method named BeginLoadData in GridDataBoundGrid. If you want to suspend drawing the grid, try using grid.BeginUpdate/grid.EndUpdate. If you want to suspend the binding to the datasource while you work on the datasource, try grid.Binder.SuspendBinding/grid.Binder.ResumeBinding to see if that does what you need. (Note - this is broken in some of the 2.0 betas, but should be fixed in the upcoming release.)

Peter
Replied On February 23, 2004 03:05 PM UTC

i was using grid.beginUpdate() grid.EndUpdate() and datatable.beginloaddata() datatable.endloaddata() grid.Binder.SuspendBinding()grid.Binder.ResumeBinding() is just what i needed, thanks

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

;