Results 1 to 3 of 3

Thread: how to deselect a tree node from tree panel

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    7
    Vote Rating
    0
      0  

    Default how to deselect a tree node from tree panel

    selectionMode of the tree is"SINGLE" .

    like i try to this Ext.getCmp('UserOrgTree').getSelectionModel().unselect();

  2. #2
    Sencha User
    Join Date
    Sep 2012
    Posts
    7
    Vote Rating
    0
      0  

    Default ok i already find the solution

    Ext.getCmp('UserOrgTree').getSelectionModel().deselectAll();

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

    Default

    you can use deselect instead of deselectAll if you want to deselect some particular node(s):

    http://docs.sencha.com/ext-js/4-0/#!...ethod-deselect

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
  •