Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
550
How to set DropDownWidth in UltraWinGrid to be larger than the column width.
posted

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.

 

Parents
  • 811
    posted

    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 :)

     

     

Reply Children