PDA

View Full Version : Tooltip for items in Combobox that are not fully visible



devtig
25 Nov 2010, 3:11 AM
I got a ComboBox with some of the items in the dropdown that don't fit in the width of the ComboBox. So, I don't see the full text of the item. Is there a plugin or a method to show a tooltip when the mouse is over an item in the dropdown that is not fully visible, showing the full text in a tooltip?

I know I could make the dropdown list wider with listWidth, but I'd like to know if there's a way showing the tooltip.

related unanswered question: http://www.sencha.com/forum/showthread.php?86692-Ext.form.Combobox-value-tooltip-amp-list-tooltip

Condor
25 Nov 2010, 6:52 AM
You can use Animal's Ext.ux.DataTip to show tips for ComboBox items.

(but it will show them for all items - you would have to write extra code to only make them show for items that don't fit the width)