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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

problem in getting the updated datasource in grid

Thread ID:





57312 Mar 1,2007 10:40 AM UTC Mar 1,2007 05:29 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On March 1, 2007 10:40 AM UTC


Some event is updating the backend datasource which is binded to the grid...But the changes are not getting reflected in the grid cell...
I tried grid.refresh but then also i see the old values only.
Same datasource is attached in second window and there i can see the new value reflected....but the place where i changed the value that cell is not getting the new value...it is keeping the old value only....
Is there any property of which force the cell to get the changed ...
Why after editing the data cell dont take changed values in datasource....?

Please help...this is very urgent and important for me...

Administrator [Syncfusion]
Replied On March 1, 2007 05:29 PM UTC


You can push all data to underlying datasource for every cell movement, you need to call in Binder.EndEdit Method(before calling this , you need to call the CurrentCell''s Edit method) in the CurrentCellMoving event. Here is a code snippet.

//CurrentCellMoving event.
this.grid.CurrentCell.EndEdit(); //saves the currentcell
this.grid.Binder.EndEdit(); //removes the pencil



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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