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
  • 5
    posted

    Well, increasing the dropdown width each time depending on the length of the text may not look nice at all times on screen.

    I would suggest to have tooltip to display complete text. Whenever user hovers over the items in teh combobox, the complete text for the same would be displayed on tooltip.

    This can be done by writing the following code in the "InitializeRow" event of the Combo:

    e.Row.Cells(ColumnName or Column Index).ToolTipText = e.Row.Cells(ColumnName or Column Index).Text.Trim()

     

Children
No Data