Results 1 to 4 of 4

Thread: Select a node in a tree view

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    95
    Vote Rating
    0
      0  

    Default Answered: Select a node in a tree view

    Hey

    Does someone know how to trigger a select event for a node in a tree view?

    Thanks :-)

  2. Try:

    tree.getSelectionModel().select(node);

  3. #2
    Sencha User
    Join Date
    Oct 2009
    Posts
    95
    Answers
    3
    Vote Rating
    2
      0  

    Default

    Try:

    tree.getSelectionModel().select(node);

  4. #3
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,099
    Answers
    113
    Vote Rating
    100
      0  

    Default

    if you have the record, you can use the selection model to select it:

    Code:
    tree.getSelectionModel().select(record);

  5. #4
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    95
    Vote Rating
    0
      0  

    Default Great guys! Worked like charm!

    :-)

Posting Permissions

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