Results 1 to 6 of 6

Thread: How to increase NestedList performance?

  1. #1

    Default How to increase NestedList performance?

    Hello!
    We're using ST 2.1.0 and in our app a NestedList (main part of our app ).
    Everything works pretty well, just the performance of the NestedList is under a useable level.

    We're giving the information already in a json format into the store.

    Any general ideads, how we can speed up the list?

    Thank!!

  2. #2

    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,255
    Answers
    27

    Default

    first tell us more about what you are doing... how many records in store what performance are you seeing? any measurements?

  3. #3

    Default

    How many records, is very difficult to say. I would say like totally 200-300 records. In different deep steps (deepest structure is 5 steps deep).&nbsp;<br><br>The data will be loaded out of a json file and will be given into the store. The navigating through the directories is very very slow.

  4. #4

    Default

    I found out, that the main problem was the sorting of the store from the nestedList:
    Code:
    store.sort("name","ASC");
    store.setFolderSort(true);
    this lead to big performance problems.
    Any ideas how I can resolve this problem?

  5. #5
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    You can return the data sorted already. The server will always be faster at sorting this.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  6. #6

    Default

    I can't sort the data from the server. That's the think..
    And it seems that the store loses sometimes his sorted state. So I build a workaround that on every change on the store, on every start of the app and on every back button tap (in the nestedlist) it will be sorted again.

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
  •