You found a bug! We've classified it as EXTJS-9282 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    4
    Vote Rating
    0
    arunabh is on a distinguished road

      0  

    Default Ext 4.2.0: Ext.data.Store.sort() clears view when buffered and remoteSort are set

    Ext 4.2.0: Ext.data.Store.sort() clears view when buffered and remoteSort are set


    When sort() is invoked on a store instance associated with a Grid with buffered: true and remoteSort: true, the view is cleared. Subsequently, if the beforeload listener returns false, the view is not restored.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,795
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      1  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    15
    Vote Rating
    2
    navr84 is on a distinguished road

      0  

    Default


    Is there any workaround for this issue?

  4. #4
    Sencha User
    Join Date
    Mar 2013
    Posts
    4
    Vote Rating
    0
    arunabh is on a distinguished road

      0  

    Default


    I extended Ext.data.Store to fire a custom event before sort that cancels the sort based on the retrun value from teh listener. It's a very specific workaround for my needs. YMMV. Here's my overridden sort() function:

    Code:
      sort: function(sorters, direction) {
            var me = this;
            if (me.fireEvent('c_beforesort', me) !== false) {
                return me.callParent([sorters, direction]);
            }
        }

Thread Participants: 2

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