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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

problem with editing two cell simultaneously

Thread ID:

Created:

Updated:

Platform:

Replies:

13205 Apr 22,2004 04:31 PM UTC Apr 22,2004 10:37 PM UTC WinForms 3
loading
Tags: GridControl
Nicola
Asked On April 22, 2004 04:31 PM UTC

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

Nicola
Replied On April 22, 2004 07:40 PM UTC

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

Administrator [Syncfusion]
Replied On 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

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.

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

;