Results 1 to 3 of 3

Thread: Ext.tree.TreeSorter in ExtJS 4

  1. #1
    Sencha User
    Join Date
    Dec 2008
    Location
    Manchester, UK
    Posts
    115
    Answers
    4
    Vote Rating
    23
      0  

    Default Answered: Ext.tree.TreeSorter in ExtJS 4

    In version 3 I used the TreeSorter to sort the nodes in a tree branch into alphabetical order. In version 4 the TreeSorter no longer appears to exist. I've tried adding a:

    Code:
     sorters: [{property:'text', direction: 'ASC'}]
    into the associated store, but this doesn't seem to have any effect.

    Does anyone know how to sort a tree in Version 4?

    Thanks,
    Steve

  2. I've just found the answer - I also needed to add "folderSort: true" into the underlying tree store

  3. #2
    Sencha User
    Join Date
    Dec 2008
    Location
    Manchester, UK
    Posts
    115
    Answers
    4
    Vote Rating
    23
      0  

    Default

    I've just found the answer - I also needed to add "folderSort: true" into the underlying tree store

  4. #3
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,016
    Answers
    33
    Vote Rating
    182
      0  

    Default

    Don't forget to mark your question as answered

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
  •