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
1705
I need my combos to size themselves automatically
posted

I have a lot of multiple column combos and I'd like the columns to resize themselves automatically when the combo is dropped down.  I'd like each column to automatically resize itself to display all the text in that column.

  • 71886
    Offline posted

    Hello 0to600,

    A possible approach to achieve the desired behavior might be using the 'PerformAutoResizeColumns' method like in my code sample:

    ultraCombo1.DisplayLayout.Bands[0].PerformAutoResizeColumns(false, PerformAutoSizeType.AllRowsInBand);


    Please do not hesitate to contact us if you need any additional assistance.