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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

problem with editing two cell simultaneously

Thread ID:





13205 Apr 22,2004 04:31 PM UTC Apr 22,2004 10:37 PM UTC WinForms 3
Tags: GridControl
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().

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


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon