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.

TableControlCheckBoxClick event caused row to still be in edit mode.

Thread ID:

Created:

Updated:

Platform:

Replies:

49668 Sep 22,2006 02:03 PM Sep 25,2006 02:18 AM Windows Forms 1
loading
Tags: Grouping
jamesb
Asked On September 22, 2006 02:03 PM

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?

Administrator [Syncfusion]
Replied On September 25, 2006 02:18 AM

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

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.

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.

;