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
145
Combo AutoComplete suggestion dropdown width
posted

I am using an UltraCombo and I have some cosmetic/layout questions.

Is there a way to make the suggestion dropdown longer and show all the text. Please see this image (https://imgur.com/a/8eyIo)

I want the dropdown cells to show the full text. I would also like the cell be as long as the control. Is there a way to control the length? Also, is there a way to get hide the header?

Parents
No Data
Reply
  • 12480
    Offline posted

    Hi Peter,

    You can control the height of the drop down by setting the UltraCombo's MaxDropDownItems property. Set it to the number of items you wish to display. If you set it to a value higher than the number of items in the data source, it will show them all (or as many can fit on screen).

    You can control the width of the drop down by setting the UltraCombo's DropDownWidth property. Set this to your desired width in pixels.

    You can hide the headers for a given band by setting the ColHeadersVisible property for that band to false: ultraCombo1.DisplayLayout.Bands[0].ColHeadersVisible = false

    Please try this out and let me know whether it works for you.

Children
No Data