PDA

View Full Version : Ext.grid.Panel with Ext.ux.RowExpander that copied from Ext's Example



feva
15 Nov 2011, 9:24 AM
I use the Ext MVC. When I create and update, it trigger the onUpdate of "Ext.view.Table". But the following codes in onUpdate event is error.


if (!changedFieldNames || Ext.Array.contains(changedFieldNames, fieldName) || (columns[i].xtype === 'treecolumn' && Ext.Array.contains(changedFieldNames, 'checked'))) {
oldRow.dom.insertBefore(newCells[i], oldCells[i]);// <-- It's error.
oldRow.dom.removeChild(oldCells[i]);
}

The Chrome bugger show: Uncaught Error: NOT_FOUND_ERR: DOM Exception 8

Of course, I temporarily cancel it:


Ext.view.Table.prototype.onUpdate = function(){};

It's ok.


How to solve this problem?

zombeerose
15 Nov 2011, 9:56 AM
I have also experienced this and believe it to be a bug. Please post in the Bugs forum.