PDA

View Full Version : ui.getAnchor() vs ui.getEl()



Nisse
16 Oct 2007, 11:08 AM
Could someone please clarify what the difference is between ui.getAnchor() and ui.getEl(). What is this UI object anyway? I can't seem to find any documentation for it.
Also, instead of using these two to render a context menu could I use e.getTarget()?

Thanks,
Fredrik

Animal
16 Oct 2007, 11:17 AM
http://extjs.com/deploy/dev/docs/?class=Ext.tree.TreeNodeUI

using these two? You usually show a context menu at target.getXY() the context menu handler is passed the TreeNode, what more do you want?