我有一个ExtJS3应用程序,可以从ExtJS4 SVG stuffs受益。在线有一个关于如何使用沙箱模式的example在ExtJS3应用程序中包含ExtJS4组件......但在此示例中,ExtJS4组件是自己浮动的window,因此ExtJS4组件并未真正添加到ExtJS3组件中;他们只是相互独立共存。将ExtJS4组件添加到ExtJS3组件中?
有没有办法在沙箱模式下运行时将ExtJS4组件添加到ExtJS3组件?例如:
var item = Ext4.create("Ext.panel.Panel", { // ExtJS4
/* config */
});
var parent = new Ext.Panel({ // ExtJS3
items:[item],
/* more config */
});
如果我尝试这样的事情,我通常会得到这样的错误......
this.container is null (http://localhost:4000/path/ext-4.0.0/builds/ext-all-sandbox-debug.js:27723)
+1的最佳解决方案,没想到这个! – JamesHalsall 2011-05-28 22:58:34
Ext4图表的东西有一些问题,输入赞赏 - http://stackoverflow.com/questions/6455873/using-extjs-4-charts-in-extjs-3-application – OrangeDog 2011-06-23 14:40:21