PDA

View Full Version : Tools on panel



Zdeno
6 Apr 2010, 8:19 AM
Im using TreePanel with tools and im trying to access to tooltip and change the text. Is there any why how i can do it?

I see tooltip is panel, i tried set up qtip in handler:



...
,handler: function( event, toolEl, panel, tc ) {
tc.qtip = 'xxx';
//but tooltip is still same... how i can call update on this toolEl?
}
...


TIA

Zdeno
6 Apr 2010, 8:56 AM
Is the tool element on treepanel panel? Or whats that? Because i tried use quicktip, tooltip, panel properties on toolEl, panel.tools[toolEl.id] element and nothing works. How i can access generated tooltip element what is invisible on bottom of doucment body?

Zdeno
6 Apr 2010, 3:39 PM
Nobody using tools ?

Elijah
6 Apr 2010, 6:03 PM
I dont know but Im actually looking into that right now.

http://www.extjs.com/deploy/dev/docs/output/Ext.Panel.html
http://www.extjs.com/deploy/dev/resources/images/default/s.giftools (http://www.extjs.com/deploy/dev/docs/output/Ext.Panel.html) Ext.Panel (http://www.extjs.com/deploy/dev/docs/output/Ext.Panel.html)
An array of tool button configs to be added to the header tool area. When rendered, each tool is stored as an Element...

Link is not very good. but its listed on the Panel page.

Zdeno
7 Apr 2010, 4:06 AM
Well, i have got problem to access bubble element what is generated on the bottom of the html document. So yeah maybe it is a Panel but i cant access it because i dont know any id of generated element. I know id of toolEl which is icon in tools but nothing else. I see config in tc variable when handler of qtip is called. When i try call update on toolEl, it just rewrite image on the tool. But i didnt find any way how i can access the bubble ( qtip ). Anyone know?

hendricd
7 Apr 2010, 6:12 AM
The Toolstip plugin (http://www.extjs.com/forum/showthread.php?t=78749) might be quick study for an overview of tools-management. :>