1. #1
    Sencha User mysticav's Avatar
    Join Date
    Mar 2007
    Location
    Mexico
    Posts
    478
    Vote Rating
    5
    mysticav is on a distinguished road

      0  

    Default emptyText not working

    emptyText not working


    After the grid store is loaded, emptyText is not shown.

    Only works if deferEmptyText is set to false like this:
    Code:
     viewConfig: {
            deferEmptyText:false,
            emptyText   : 'No Records Found.'
    }
    But I don't want to show the text before store has been loaded. So deferEmptyText needs to be set to true.

    Can somebody check if this is working ?
    Using Ext with cachefly
    Working on LAMPExt

  2. #2
    Ext JS Premium Member
    Join Date
    Feb 2011
    Posts
    28
    Vote Rating
    2
    shmeltex is on a distinguished road

      0  

    Default


    Works here with 4.1 beta 1.
    Code:
    viewConfig: {
       emptyText: 'No records to show'
    }
    When store is empty, shows "No records to show"

Thread Participants: 1