Hi Alexander,
For GridListControl cells, you control the width of DropDown by setting the e.Inner.Size property in TableControlCurrentCellShowingDropoDownEventArgs. You control the number of items displayed in the list by setting the DropDownRows property at some point in TableControlCurrentCellShowingDropoDown.
private void gridTableControlCurrentCellShowingDropDown(object sender, GridTableControlCurrentCellShowingDropDownEventArgs e)
{
GridCurrentCell cc = e.TableControl.CurrentCell;
GridDropDownGridListControlCellRenderer cr = cc.Renderer as GridDropDownGridListControlCellRenderer;
if(cr != null)
{
//Setting the Width of the DropDown GridListcontrol
e.Inner.Size= new Size( 300, e.Inner.Size.Height);
//Setting the Height of the DropDown GridListcontrol
((GridDropDownGridListControlPart) cr.ListControlPart).DropDownRows = 2;
}
}
Sample :
http://www.syncfusion.com/Support/user/uploads/GridListControlResize_f26be94e.zipThanks,
Haneef