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.

cell specifically editable.

Thread ID:

Created:

Updated:

Platform:

Replies:

61135 May 18,2007 04:56 AM May 25,2007 02:41 AM Windows Forms 2
loading
Tags: Grouping
haneefm [Syncfusion]
Asked On May 17, 2007 11:44 PM

Hi Person,

Try handling the TableControlCurrentCellStartEditing event and set e.Inner.Cancel = true if you do not want the particular current cell to go into edit mode.

private void gridGroupingControl1_TableControlCurrentCellStartEditing(object sender, GridTableControlCancelEventArgs e)
{
GridCurrentCell cc = e.TableControl.CurrentCell;
if( cc.RowIndex == 5 && cc.ColIndex == 6)
e.Inner.Cancel = true;
}

Best regards,
Haneef

Person
Replied On May 18, 2007 04:56 AM

Hi,

I would like to know if it is possible to set the grid as non-editable while having some column cells are editable?

I know
gridGroupingControl1.TableDescriptor.AllowEdit = false;
can be used to set the grid to be non-editable.

Many Thanks.

Person
Replied On May 25, 2007 02:41 AM

Thanks, 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.

;