Results 1 to 2 of 2

Thread: Grid emptyText isn't shown after a first refresh

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Vote Rating

    Default 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):

    if (! && (!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 Premium User evant's Avatar
    Join Date
    Apr 2007
    Sydney, Australia
    Vote Rating


    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.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts