-
21 Jan 2011 2:43 AM #31
What is this ?Code:xtype : 'textfieldxtype'
is surely better !Code:xtype : 'textfield'
-
21 Jan 2011 2:54 AM #32
I upgrade my code from Extjs 3.2.1 to Extjs 3.3.0 and the Datatip doesn't work anymore for combobox.
There's no error message.
-
21 Jan 2011 3:19 AM #33
-
31 Jan 2011 7:25 AM #34
I'm coming back with this.
So, i put in my code your debugged code.
But now, there's this error :
this.anchorEl is undefined ext-all-debug.js (ligne 32666)
coming from the ligne "this.showAt([-1000,-1000]);" above.
I've tried to understand what's happening, but can't debugg.
So, if you can do a new change, it will be very helpfull.
-
27 May 2011 3:39 AM #35
@Animal,
This is a such a nice UX! Wondered if you planned to update / release a version that is 4.x compatible?
-
16 Jan 2012 1:13 PM #36
-
23 Jan 2012 7:33 AM #37
I added the showAt override to the ToolTip override that Animal posted and it fixed the this.anchorEl is undefined bug I was getting.
Code:Ext.override(Ext.ToolTip, { show : function(){ if(this.anchor){ // pre-show it off screen so that the el will have dimensions // for positioning calcs when getting xy next this.showAt([-1000,-1000]); this.origConstrainPosition = this.constrainPosition; this.constrainPosition = false; this.anchor = this.origAnchor; } this.showAt(this.getTargetXY()); if (this.isVisible()) { if(this.anchor){ this.syncAnchor(); this.anchorEl.show(); this.constrainPosition = this.origConstrainPosition; }else{ this.anchorEl.hide(); } } }, showAt : function(xy){ this.lastActive = new Date(); this.clearTimers(); Ext.ToolTip.superclass.showAt.call(this, xy); if(this.dismissDelay && this.autoHide !== false){ this.dismissTimer = this.hide.defer(this.dismissDelay, this); } if(this.anchor && !this.anchorEl.isVisible()){ this.syncAnchor(); this.anchorEl.show(); //} else{ } else if (this.anchorEl){ //added check for this.anchorEl this.anchorEl.hide(); } }, });
-
23 Jan 2013 2:18 AM #38
Tooltips for radio buttons
Tooltips for radio buttons
Hi,
is it possible to extend the DataTip extension to have tooltips for radio buttons?
I searched the forum but the solution registering QuickTips doesn't work for me.
Thanks,
Andrea
-
23 Apr 2013 9:36 AM #39
preload image
preload image
hi, i want to do something like this:
is there a option to preload the image? because first show of tip is empty, i have to move over the node of my tree a second time to see the pic.PHP Code:plugins: new Ext.ux.DataTip({
//tpl: '<div class="whatever">{fullname2}</div>'
showDelay: 2000,
trackMouse: true,
tpl: '<div><img height=100% src="images/user_{id}.png"><div>'
})
thx!


Reply With Quote