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.

How to disable editing of cell which has a dropdown list

Thread ID:

Created:

Updated:

Platform:

Replies:

53095 Dec 7,2006 09:09 PM Dec 8,2006 05:26 AM Windows Forms 2
loading
Tags: Grouping
Pawan Adur
Asked On December 7, 2006 09:09 PM

hi haneef,
How to disable editing of cell which has a dropdownTable.

Pawan Adur
Replied On December 7, 2006 09:44 PM


hi haneef,
if i do a AllowEdit = false; then its even not taking the selected value from drop down list.
>hi haneef,
How to disable editing of cell which has a dropdownTable.

Administrator [Syncfusion]
Replied On December 8, 2006 05:26 AM

Hi Pawan,
Please try this code snippet and let us know if this helps.

private void gridGroupingControl1_TableControlCurrentCellStartEditing(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCancelEventArgs e)
{
GridCurrentCell cc = e.TableControl.CurrentCell;
if(cc.ColIndex==1)
{
e.Inner.Cancel=true;
}
}

Best Regards,
Jeba.

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.

;