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

TableControlCheckBoxClick event caused row to still be in edit mode.

The edit icon shows up to the left when I check a checkbox in my ggc.
Even when I enter into a new cell in the same row, the edit icon is still showing.
I have to navigate to a cell on a different row before it goes away.

How can I make this automatic?

1 Reply

AD Administrator Syncfusion Team September 25, 2006 06:18 AM UTC

Hi James,

This is by design. If you want to disappear the edit icon for every cell movement, you need to call the Record.EndEdit method in TableControlCurrentCellMoving event. Below is a code snippet

private void TableControlCurrentCellMoving(object sender, GridTableControlCurrentCellMovingEventArgs e)
{
Record rec = e.TableControl.Table.CurrentRecord;
if( rec != null)
{
rec.EndEdit();
}
}

Let me know if this helps.

Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon