EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: bduguay on March 25, 2015, 07:11:38 AM



Title: Tooltip on numberspinner
Post by: bduguay on March 25, 2015, 07:11:38 AM
Hello,

I'm trying to add a tooltip to a numberspinner but I'm having no luck. The following code works with comboboxes, combogrids and dateboxes but it's not working for the numberspinner.

Please advise.

Code:
function setTooltip(conName, tooltip) {
    var control = $(conName).numberspinner('textbox');
    control.parent().tooltip({content : tooltip});
}



Thank you.


Title: Re: Tooltip on numberspinner
Post by: stworthy on March 25, 2015, 07:26:40 AM
What edition are you using? If the edition is too old, please update to latest version.


Title: Re: Tooltip on numberspinner
Post by: bduguay on March 25, 2015, 07:55:58 AM
I'm using 1.3.4.
I found that when I tried to update to 1.4.1 the layout and formatting changed for my project.


Title: Re: Tooltip on numberspinner
Post by: bduguay on March 25, 2015, 08:09:14 AM
I just tried to upgrade to 1.4.2 and this with what happens.



Title: Re: Tooltip on numberspinner
Post by: bduguay on March 25, 2015, 08:21:05 AM
Apologies. I forgot to change the css links. This is the way it looks corrected. I will update my project to the latest version of jQuery. Thank you for your help.