PDA

View Full Version : emptyText not working



mysticav
21 Jan 2012, 4:34 PM
After the grid store is loaded, emptyText is not shown.

Only works if deferEmptyText is set to false like this:

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 ?

shmeltex
21 Jan 2012, 6:54 PM
Works here with 4.1 beta 1.


viewConfig: {
emptyText: 'No records to show'
}

When store is empty, shows "No records to show"