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.

Force a SaveCellInfo in virtual grid

Thread ID:





19108 Sep 17,2004 08:57 AM Sep 17,2004 09:05 AM Windows Forms 2
Tags: GridControl
Asked On September 17, 2004 08:57 AM

I have a virtual grid that a user can be editing, and be currently editing a value in a particular cell. Then the user selects a menu choice, which goes and reads the underlying datasource to do some action. The datasource does not contain the lastest changes to the cell currently being edited, since SaveCellInfo has not been called. How can I programatically force a SaveCellInfo? (I don''t really want to programatically move the current cell selection to do it) Thanks!

Administrator [Syncfusion]
Replied On September 17, 2004 09:04 AM

You can try grid.CurrentCell.EndUpdate(); grid.Binder.EndUpdate(); The first call end the updating of teh currentcell and the second should flush any cached row changes to the datasource.

Administrator [Syncfusion]
Replied On September 17, 2004 09:05 AM

Oops. I was thinking GridDataBoundGrid. In a GridControl, calling grid.CurrentCell.ConfirmChanges should do the trick.


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.