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
2715
Combobox bigger in width than the containing cell
posted

Hi!

I have a combobox, with data pulled from db inside ( 2 columns).

My problem is that the width of that combobox is the same as for the containing cell/column. How could i change this?

I've added 2 pics, how it looks and how i want it to look.

Thank you!

 

 

Parents
No Data
Reply
  • 20872
    Verified Answer
    Offline posted

    Hello Mismar,

    I have tried the mentioned behavior and my UltraCombo has bigger width than the cell by Default.

    Could you please let me know what version you are using in order to have such behavior? Also you could you use ultraCombo1.DropDownWidth in order to set the desired size.

    One thing that you probably are setting is the following:

     ultraCombo1.DisplayLayout.AutoFitStyle = Infragistics.Win.UltraWinGrid.AutoFitStyle.ResizeAllColumns;

    which actually will force the actual width to be the same as the cell one. If you remove this settings you will have different results.

    Please feel free to let me know if you need any other assistance with this matter.

     

Children