PDA

View Full Version : [DUPE-1077:1086][3.3.0] examples/grid/row-editor.html fails



meroy
29 Jun 2010, 2:02 PM
Error is found in src/widgets/grid/GridView.js at or around line 423 SVN release 6803 for the 3.3.x branch.

error: el is null



initElements : function() {
var Element = Ext.Element,
el = Ext.get(this.grid.getGridEl().dom.firstChild),
mainWrap = new Element(el.child('div.x-grid3-viewport')),
mainHd = new Element(mainWrap.child('div.x-grid3-header')),
scroller = new Element(mainWrap.child('div.x-grid3-scroller'));

...

meroy
29 Jun 2010, 2:08 PM
The same error is seen with the following examples in the 3.3.x branch:

error: el is null

examples/grid/grouping.html
examples/grid/totals.html
examples/grid/totals-hybrid.html
examples/grid/locking-grid.html
examples/grid/ColumnHeaderGroup.html

meroy
29 Jun 2010, 2:26 PM
The livegrid plugin from http://www.ext-livegrid.com also fails with the 3.3.0 branch :(
That may be an issue within the plugin though.

error: this.mainBody is undefined

From livegrid-all-debug.js



if (this.loadMask) {
this._loadMaskAnchor = Ext.get(this.mainBody.dom.parentNode.parentNode);
Ext.apply(this.loadMask,{
msgCls : 'x-mask-loading'
});
this._loadMaskAnchor.mask(
this.loadMask.msg, this.loadMask.msgCls
);
var dom = this._loadMaskAnchor.dom;
var data = Ext.Element.data;
data(dom, 'mask').addClass('ext-ux-livegrid');
data(dom, 'mask').setDisplayed(false);
data(dom, 'maskMsg').setDisplayed(false);
}

evant
15 Jul 2010, 12:26 AM
Dupe of http://www.sencha.com/forum/showthread.php?102738-ExtJS-3.3.0-GroupingView-is-broken

It's since been resolved in SVN. Thanks for the report.