heaven
14 Oct 2007, 7:00 PM
when i resize the layout ,the error will be display.and it make the scroller do not appear,
I use the extjs from 0.33 to 1.11 ,the error is still there.
the error from firebug console:
this.cm has no properties
layout(undefined, undefined)ext-all-debug.js;... (行 28418)
autoSize()ext-all-debug.js;... (行 26919)
setSize(627, 283)ext-all-debug.js;... (行 26430)
updateBody(627, 283)ext-all-debug.js;... (行 25291)
updateBox(Object x=0 y=35 width=629 height=313)ext-all-debug.js;... (行 25251)
layout()ext-all-debug.js;... (行 24776)
onWindowResize()ext-all-debug.js;... (行 24672)
fire()ext-all-debug.js;... (行 1363)
(匿名)()ext-all-debug.js;... (行 1599)
Event(resize )yui-utilities.js;... (行 11)
[Break on this error] var hasLock = this.cm.isLocked(0);
and the code is,
ImportDataList.init('center1');
layout.add('center', new Ext.GridPanel(ImportDataList.getGrid(), {title: '未导入', closable: true}));
I use the extjs from 0.33 to 1.11 ,the error is still there.
the error from firebug console:
this.cm has no properties
layout(undefined, undefined)ext-all-debug.js;... (行 28418)
autoSize()ext-all-debug.js;... (行 26919)
setSize(627, 283)ext-all-debug.js;... (行 26430)
updateBody(627, 283)ext-all-debug.js;... (行 25291)
updateBox(Object x=0 y=35 width=629 height=313)ext-all-debug.js;... (行 25251)
layout()ext-all-debug.js;... (行 24776)
onWindowResize()ext-all-debug.js;... (行 24672)
fire()ext-all-debug.js;... (行 1363)
(匿名)()ext-all-debug.js;... (行 1599)
Event(resize )yui-utilities.js;... (行 11)
[Break on this error] var hasLock = this.cm.isLocked(0);
and the code is,
ImportDataList.init('center1');
layout.add('center', new Ext.GridPanel(ImportDataList.getGrid(), {title: '未导入', closable: true}));