AD
Administrator
Syncfusion Team
December 6, 2006 05:09 AM UTC
Hi Pawan,
You can handle the QueryCellStyleInfo event and set Style.Enabled/Style.Clickable property to FALSE to disable the dropdown cell in a grid. Here is a code snippet.
//Code snippet disable the (5,5) cell.
private void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
if( e.TableCellIdentity.ColIndex == 5 && e.TableCellIdentity.RowIndex == 5)
{
e.Style.Enabled = false;
e.Style.Clickable = false;
}
}
Best Regards,
Haneef