Thank you for reporting this bug. We will make it our priority to review this report.
Bug report: Grid emptyText does not work with store.removeAt(0). (fiddle included)
Bug report: Grid emptyText does not work with store.removeAt(0). (fiddle included)
Ext version tested:
Browser versions tested against: Description:- When i do removeAll() on a store, emptyText is displayed as expected.
- When i do removeAt(0) with 1 item in the store, emptyText is not displayed in the grid.
Steps to reproduce the problem:- In the fiddle toggle between removeAll() and removeAt(0)
The result that was expected:- Regardles of the remove function used, emptyText should be displayed when there are no items left in the store
The result that occurs instead:- emptyText only appears when removeAll() is called
More information- I tested in the fiddle below that grid.getView().refresh() makes the emptyText update. In the fiddle above i do grid.getView().refresh() in the store remove event. This remove event is called on removeAt() and not removeAll(). But the refresh does not display the emptyText either.
Bug report: Grid emptyText does not work with store.removeAt(0). (fiddle included)
Aucun commentaire:
Enregistrer un commentaire