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
380
Ultracombo column, dropdown grid to fit the celll width
posted

Hello

This might be simple, but I can't seem to find the answer, I have an ultracombo as the editor of one of the cells of my grid, the values of the ultra combo is a grid itself (bound to a list of objects). The ultracombo width on the cell matches the cell width, but the grid that dropdowns with it does not. It seems that the width of the grid inside the cell seems to match the width of the originating ultracombo.   I've already tried ultracombo.DisplayLayout.AutoFitStyle = ResizeAllColumns. I also set the ultra combo DropDownWidth = 0. 

See the control setup in the pic attached (the actual ultracombo on top on the final form will not be visible)

Thank you

Parents
  • 6120
    Offline posted

    Hello,

    I was able to observe the UltraCombo dropdown width mismatch behavior that you mentioned. You can work around this by using an UltraComboEditor instead of an UltraCombo. I have tested this behavior with an UltraComboEditor and when I open the dropdown the width of the Grid matches with the Cell width.

    Please try the above suggestion and let me know if I may be of further assistance.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer

Reply Children