Hide combobox selection button when cell doesn''t have focus

Is there a way to hide a combobox selection button when a combobox cell doesn't have focus? We only want to see the button when the user gives the cell focus. We are using a virtual gridcontrol.

thanks,

Kyle

1 Reply

AD Administrator Syncfusion Team February 21, 2007 05:16 PM UTC

Hi Kyle,

You can specify when to show or display the cell button of the combobox cell using the ShowButtons property. Here is a code snippet

For GridControl:
this.gridControl1[1, 1].ShowButtons = GridShowButtons.ShowCurrentCell;

For DataBoundGrid:
e.Style.ShowButtons = GridShowButtons.ShowCurrentCell; //QueryCellInfo event

Best regards,
Haneef

Loader.
Up arrow icon