Results 1 to 4 of 4

Thread: Find Component from Element

  1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    91

    Default Find Component from Element

    Hi,

    after spending endless hours on trying to find the tree node that another element is dropped on (http://www.extjs.com/forum/showthrea...-is-dropped-on) I am quite confused about DOM nodes and tree nodes and other components...

    Is there really no arrow pointing from Element upwards?


    Andr

  2. #2
    Ext JS Premium Member cnelissen's Avatar
    Join Date
    Sep 2007
    Location
    California
    Posts
    226

    Default

    Yes, you can get the component from the element by doing Ext.getCmp('element-id')....
    - Clint Nelissen

  3. #3
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,256

    Default

    That won't always work. Why do you need to do that in the first place?
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  4. #4
    Sencha User
    Join Date
    May 2009
    Posts
    91

    Default

    Drawing that chart cleared up things, so I found a solution. See http://www.extjs.com/forum/showthrea...-is-dropped-on

Posting Permissions

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