1. #1
    Sencha Premium Member
    Join Date
    Mar 2010
    Nashville, TN
    Vote Rating
    malkandari is on a distinguished road


    Default Grouped List Sort Updated After Adding a New Record

    This is driving me crazy...

    I have a grouped list that groups records by date DESC. After adding a new record, the new date won't show on top.

    I tried the following after adding the record and none of them worked...

    store.sort('date', 'DESC');

    The only thing that worked for me fine is if I call the store sort function twice to order ASC, and then DESC.


    The only issue was, when the user scrolls down. It changes the first header text/date from the last date to the new date.

    I have attached a screen shot. Is this a bug or am I doing something wrong?

    screen1: When I navigate to the panel
    screen2: When I scroll down
    screen3: After adding a new record and using sort twice to sort descending
    screen4: when I try to scroll down, the date changes.

    Please advice...
    Attached Images

Similar Threads

  1. Dynamically adding/removing 'grouped' & 'indexBar' to/from a List
    By shellgrit in forum Sencha Touch 1.x: Discussion
    Replies: 9
    Last Post: 13 Oct 2011, 6:24 AM
  2. Adding images to group headers of a grouped list
    By tfu in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 4 May 2011, 3:58 PM
  3. Replies: 0
    Last Post: 3 Dec 2010, 7:06 AM
  4. blank rows on grouped list updated with JSON data
    By samuelp in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 13 Sep 2010, 3:53 PM
  5. groupSummary adding a grouped record
    By fxmisticat in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 13 Jan 2009, 9:14 PM