Results 1 to 2 of 2

Thread: panel position of treepanel node

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jan 2011
    Vote Rating

    Default Answered: panel position of treepanel node

    Is there a way to determine the (x,y) pixel position of a node in a treepanel in relation to the panel element?

  2. The element of the node can be retrieved by

    var record = tree.getStore().getNodeById(node.internalId);
    var viewNode =;
    //in anycase get the element of the node in the view and then...
      var x = viewNode.getLocalX();
      var y = viewNode.getLocalY();

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts