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!
Thank you Danko!
Thanks to your answer I solved the problem. I've used the following snippet :
theCombo.DisplayLayout.PerformAutoResizeColumns(false, PerformAutoSizeType.AllRowsInBand, true);
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.