Hi Tom,
Sorry for the inconvenience caused. You can override the OnShowDropDown method in derived GridComboBoxCellRenderer class. Below is a code snippet
public class MyComboBoxCellRenderer : GridComboBoxCellRenderer
{
public MyComboBoxCellRenderer(GridControlBase grid, GridCellModelBase cellModel): base(grid, cellModel)
{this.SupportsFocusControl = false; }
protected override void OnShowDropDown()
{
base.OnShowDropDown ();
this.ListBoxPart.Size = new Size(50,400); //Setting the Width
((GridComboBoxListBoxPart)this.ListBoxPart).DropDownRows = 4; //Setting the Height
}
}
Please try the attached sample and let me know if this helps.
ComboBox.zipBest regards,
Haneef