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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to disable editing of cell which has a dropdown list

Thread ID:

Created:

Updated:

Platform:

Replies:

53095 Dec 8,2006 02:09 AM UTC Dec 8,2006 10:26 AM UTC WinForms 2
loading
Tags: Grouping
Pawan Adur
Asked On December 8, 2006 02:09 AM UTC

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

Pawan Adur
Replied On December 8, 2006 02:44 AM UTC


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 10:26 AM UTC

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.

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

;