My gridpanel has a store and uses the cellediting plugin.
When I reload my grid via loadData()
, I also reconfigure()
my grid's columns and call my model's setFields()
.
So while this is happening, click a editable grid cell in this gird by simple clicking it, and then an error gets thrown:
Code:
Uncaught TypeError: Cannot call method 'setSize' of undefined Editor.js:48
Ext.define.calculate Editor.js:48
Ext.define.runLayout Context.js:1154
Ext.define.runCycle Context.js:1123
Ext.define.run Context.js:1054
Ext.define.statics.flushLayouts AbstractComponent.js:84
Ext.define.statics.resumeLayouts AbstractComponent.js:100
Ext.resumeLayouts AbstractComponent.js:3437
Ext.define.reconfigure Table.js:1024
...
I tried preventing it by completing the edit process with:
Code:
if ( oView.editingPlugin )
{
oView.editingPlugin.completeEdit();
}
but this fails.
How can this be solved?
oStore
, include Deft JS (from github for instance) and find a solution for that one Netmind controller which is referenced. That way we would have a perfect test case. – smhg