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. Image for the cookie policy date

problem with editing two cell simultaneously

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

3 Replies

AD Administrator Syncfusion Team April 22, 2004 07:07 PM UTC

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().


NI Nicola April 22, 2004 07:40 PM UTC

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


AD Administrator Syncfusion Team April 22, 2004 10:37 PM UTC

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

Loader.
Up arrow icon