Results 1 to 4 of 4

Thread: Can I temporarily disable NestedList Sort?

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Boston
    Posts
    149
    Answers
    5
    Vote Rating
    7
      0  

    Default Can I temporarily disable NestedList Sort?

    Touch 2.1.0-rc2

    I have a sort set for a NestedList store. If I change any property in any record, it forces a sort (and scroll to top) for the entire list for every change.

    Sort seems to be very slow and a lot of sorts (15 records changed so 15 sorts) is noticeable to the user.

    I tried setting the store's sort to [ ] but then the displayed list gets reordered.

    Is there any way to disable the sort when I know I am changing many records or when I know I am NOT changing a sort field?

    And how do I keep it from scrolling to the top?

    Thanks
    David

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    For the scrolling to top you can try using the scrollToTopOnRefresh config on the list (so in listConfig)
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Location
    Boston
    Posts
    149
    Answers
    5
    Vote Rating
    7
      0  

    Default

    Thank you for the scrollToTopOnRefresh.

    Should I be submitting the other problems as Bugs?

  4. #4
    Sencha User ppnectar's Avatar
    Join Date
    Mar 2013
    Location
    Ahmedabad, India
    Posts
    15
    Answers
    1
    Vote Rating
    4
      0  

    Default How can i prevent sorting in sencha touch?

    I have applied sorting to store of List View. But then after i want to prevent that sorting. How can i do that in sencha touch latest?

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
  •