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
close icon

How to disable editing of cell which has a dropdown list

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

2 Replies

PA Pawan Adur 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.


AD Administrator Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon