1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    20
    Vote Rating
    2
    alexmipego is on a distinguished road

      0  

    Default Grid emptyText isn't shown after a first refresh

    Grid emptyText isn't shown after a first refresh


    When a grid is bound to a store with a remote proxy the empty text isn't being displayed correctly on the first refresh (store triggered).

    What happends is that a store's loadRecords function will fire a "refresh" event picked-up by the grid's AbstractView refresh function. At this point the store is always still marked as "loading = true" which causes this conditional to fail (AbstractView, refresh function):

    Code:
    if (!this.store.loading && (!me.deferEmptyText || me.hasFirstRefresh)) {
    I've confirmed that this line's change is new in 4.2 and that if I override the function to change that condition the empty text is shown correctly at all times.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,833
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Thanks for posting, as it goes we have a ticket open for a separate (but the same cause) issue.

    For your reference it's EXTJSIV-6444.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1

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