View Full Version : EditorGridPanel with combobox inside a window

23 Dec 2011, 10:16 AM
Ok I think I found a bug where if you expand a combobox editor inside an EditorGridPanel, which is inside a window, then close the window without collapsing the combobox editor first, the onEditComplete() method gets called AFTER the EditorGridPanel gets destroyed. This results in a JS error.

I've created some code that seems to fix this issue:

Ext.override(Ext.grid.EditorGridPanel, {
beforeDestroy: function () {
if (this.activeEditor) {

23 Dec 2011, 11:01 AM
Simple fix. Good catch and posting it for others to patch if they have the same error.