-
5 Oct 2010 11:51 PM #1
Tooltip on Checkbox
Tooltip on Checkbox
Hi guys
I have an ext tool tip coded on and would be called by focus event on checkbox which works . see code below
checkbox.on('focus', function(pb) {
if (typeof(options['tooltip'])!='undefined' ){
checkbox.setTooltip(options['tooltip']);
}
});
Now the question is I need an event mouseover. Is there a way to do it.
Your help is expreciated as a beginner
tomassio
-
6 Oct 2010 12:05 AM #2
you say that checkbox.on('focus', function(pb) ... is ok
have you try
checkbox.on('mouseover', function(pb)..
?
-
6 Oct 2010 12:34 AM #3
thanks first of all. I have tried this mouseover inspite it is not defined in doc but does not work.
-
6 Oct 2010 12:40 AM #4Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 44
Can't you just use a QuickTip, e.g.
Code:combobox.on('render', function(c){ Ext.QuickTips.register({ target: c.getEl(), text: 'Some text' }); });
-
6 Oct 2010 12:44 AM #5
ok, try this
Code:checkbox.el.on('mouseover', function(pb)..
-
6 Oct 2010 1:18 AM #6
-
6 Oct 2010 1:24 AM #7Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 44
Did you initialize QuickTips?
Code:Ext.onReady(function(){ Ext.QuickTips.init(); ... });
-
6 Oct 2010 1:31 AM #8
Similar Threads
-
Can I move the ToolTip tip anchor graphic to midway down the tooltip?
By jscolton in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 3 Mar 2011, 6:36 PM -
[FNR] [2.1.1 / 2.1.3] Tooltip bug and tooltip shadow issue in IE8
By jonjanisch in forum Ext GWT: Bugs (2.x)Replies: 2Last Post: 21 Apr 2010, 8:15 AM -
Tooltip in CheckBox
By lurodval in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 23 Jan 2009, 12:38 PM -
[1.2][Bug]Tooltip near bottom of page causes repeated show/hide of tooltip
By sbarkdull in forum Ext GWT: Bugs (1.x)Replies: 0Last Post: 11 Dec 2008, 6:04 AM


Reply With Quote