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
695
UltraCombo drop down data truncated
posted

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.

Parents
No Data
Reply
  • 695
    Verified Answer
    Offline posted

    Hi,

    My solution for this is: -

     

     

     

    private void ultraCombo1_BeforeDropDown(object sender, System.ComponentModel.CancelEventArgs e)

    {

    ultraCombo1.DisplayLayout.Bands[0].Columns[0].Width = ultraCombo1.DisplayLayout.Bands[0].Columns[0].CalculateAutoResizeWidth(Infragistics.Win.UltraWinGrid.

     

    PerformAutoSizeType.AllRowsInBand, false

    );

Children