use 'refresh' event to redisplay the grid after loading the store

'datachanged' event is not actualizing the component with ExtJS6,
but 'refresh' does.
This commit is contained in:
Emmanuel Kasper 2016-03-15 14:12:54 +01:00 committed by Dietmar Maurer
parent 8dc0c04951
commit 1cd913372c

View File

@ -188,7 +188,7 @@ Ext.define('PVE.window.LxcSnapshot', {
summarystore.add(kvarray);
summarystore.sort();
summarystore.resumeEvents();
summarystore.fireEvent('datachanged', summarystore);
summarystore.fireEvent('refresh', summarystore);
form.findField('snaptime').setValue(new Date(data.snaptime));
form.findField('description').setValue(data.description);