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.

How to suppress refreshing data in GridDataBoundGrid cells

Thread ID:

Created:

Updated:

Platform:

Replies:

5482 Jul 4,2003 01:02 AM Jul 4,2003 02:36 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On July 4, 2003 01:02 AM

I use a DataSet->DataView->GridDataBoundGrid set of components. My problem is that I use DataSet cells as working variables, like this: rowOut["Manpower"]=(double)rowOut["Manpower"]+1; I don't want to see intermediate results. I successfully employed this approach with Windows Forms DataGrid and performance was acceptable, but with GridDataBoundGrid I see the whole thing with naked eye. I tried to disable visual output with BeginUpdate()/EndUpdate() but succeeded only in killing final results as well as intermediate results, though performance was good. Is there a solution to this problem? Best regards, Alexey

Administrator [Syncfusion]
Replied On July 4, 2003 02:36 AM

In addition to Begin\EndUpdate, also call grid.Binder.SuspendingBinding/grid.Binder.ResumeBinding to see if that helps. And, after all the work is done, call grid.Refresh or grid.RefreshRange to repaint what needs to be repainted.

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.

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.

;