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.

problem with editing two cell simultaneously

Thread ID:





13205 Apr 22,2004 12:31 PM Apr 22,2004 06:37 PM Windows Forms 3
Tags: GridControl
Asked On April 22, 2004 12:31 PM

Hi I''m having a problem with trying to update two cells in the same row at the same time. While I am in edit mode in a cell I want to be able to update another cell on the same row. However when I try to do this the value in the cell I change programatically does not take affect until the row has lost focus. Does anyone have any idea how to do this? Thanks

Administrator [Syncfusion]
Replied On April 22, 2004 03:07 PM

In the CurrentCellMoving event, compare the grid.CurrentCell.MovedToRowIndex and grid.CurrentCell.MovedFromRowIndex. If they are the same, try calling grid.CurrentCell.ConfirmChanges() and then grid.Binder.EndEdit().

Replied On April 22, 2004 03:40 PM

Clay, I tried that but the problem still exists. Any other ideas? Thanks Nicola

Administrator [Syncfusion]
Replied On April 22, 2004 06:37 PM

It seems to work in this sample for me. What are you doing differently? Forum_Change2Cells_369.zip


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.