Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
Delete in Grid very slow with FF 57 (Quantum)
We have an ExtJS (6.5.0) Grid with 2.000 entries. When we delete all entries the following code is executed:
Code:
store = @grid.getStore()
store.suspendEvents()
store.setData([])
store.resumeEvents()
@grid.getView().refresh()
(suspend/resume is a try from https://www.sencha.com/forum/showthr...emove(records) )
The
Code:
@grid.getView().refresh()
line takes more than a minute to execute (Mac Book Pro 2016). In FF 56 (or any other browser) it's no problem.
-
Try wrapping your code with:
Code:
Ext.suspendLayouts();
store = @grid.getStore()
store.suspendEvents()
store.setData([])
store.resumeEvents()
@grid.getView().refresh()
Ext.resumeLayouts(true);
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.
-
Sencha User
Thanks for your answer. Unfortunately it doasn't help.
all the best