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

      0  

    Default Grouped List Sort Updated After Adding a New Record

    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.sync();
    store.load();
    store.loadRecords();
    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.

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

    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
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi