Hi,
My ultracombo data source return long text.
But the ultracombo does not display them as a whole but truncated it due to the combobox width.
How can i autoresize the drop down based on value to be display?
Thanks.
My solution for this is: -
{
ultraCombo1.DisplayLayout.Bands[0].Columns[0].Width = ultraCombo1.DisplayLayout.Bands[0].Columns[0].CalculateAutoResizeWidth(Infragistics.Win.UltraWinGrid.
);
Your solution will work, but it's a but over-complicated. I think this would be simpler:
this.ultraCombo1.DisplayLayout.Bands[0].PerformAutoResizeColumns(false, PerformAutoSizeType.AllRowsInBand);