PDA

View Full Version : EditorGrid - new Bug while editing



grubi
30 Dec 2009, 5:11 AM
Hi.

There seems to be a new bug introduced in Ext. 3.0.3 and 3.1 which is not present in 3.0.0.

If you call removeAll on a grids array store while the cell editor is active on a changed cell you get the exception this.getRow(...) returns undefiined on the line 41154 (this is the line with Ext 3.1. It's different on 3.0.3).

getCell : function(row, col){ return this.getRow(row).getElementsByTagName('td')[col];

As a workaround you can call editorGrid.stopEditing before.
This works correct with Ext. 3.0.0