I can't find where the DropDownWidth property is. I'm hoping I can set it so it's the dropdown box is wider than the column width for all the cells for a specific column. I've spent sometime on searching for this answer on the forums but to no avail. Can someone give me this properties namespace so I can set this at design or run time.
Thanks Mike. That worked!
The DropDownWidth is a property on the UltraDropDown or the ValueList. So you have to set it on whatever you are assigning to the ValueList property of the column. It's not a property on the grid.
Bunty,
My bad for not including enough detail. This is for a WinGrid.
PersonsGrid.DisplayLayout.Bands(0).Columns("title").Style = UltraWinGrid.ColumnStyle.DropDownList
Thanks!
Chatelain,
Please let me know how you are making the Column as dropdown ? are you using the UltraDropdown as editorControl or WinCombo as EditorControl. In this case you need to use the following property of the control:
Normal 0 false false false MicrosoftInternetExplorer4
UltraDropDown1.DropDownWidth = UltraGrid1.DisplayLayout.Bands(0).Columns(0).Width + 50
UltraCombo1.DropDownWidth = UltraGrid1.DisplayLayout.Bands(0).Columns(0).Width + 50
Hope it help you. Thank you.
Bunty :)