AD
Administrator
Syncfusion Team
February 14, 2007 03:53 PM UTC
Hi Steve,
You can handle the CurrentCellShowingDropDown event of the grid and set e.Cancel to true for cancel the dropdown. Here is a code snippet.
private void gridDataBoundGrid1_CurrentCellShowingDropDown(object sender, Syncfusion.Windows.Forms.Grid.GridCurrentCellShowingDropDownEventArgs e)
{
GridCurrentCell cc = (sender as GridDataBoundGrid).CurrentCell;
GridComboBoxCellRenderer cr = cc.Renderer as GridComboBoxCellRenderer;
if( cr != null )
e.Cancel = true;
}
Best Regards,
Haneef