Ext建树建不了...
Ext.onReady(founction(){varroott=newExt.tree.AsyncTreeNode({text:'TheRoot'});roott.ap...
Ext.onReady(founction(){
var roott = new Ext.tree.AsyncTreeNode({
text:'The Root'
});
roott.appendChild(new Ext.tree.TreeNode({
text:'子节点'
}));
var treeP = new Ext.tree.TreePanel({
title:'树',
renderTo:'tree',
root:roott,
height:200,
width:200
});
});
用上面的代码在EXT3.0中建立一棵树建立不了,求指导!!Tomcat已启动,其它ext程序能运行,不存在环境问题。所要的包都已经引入,然后也存在有一个层的id叫做“tree”!一个星期没解决了... 展开
var roott = new Ext.tree.AsyncTreeNode({
text:'The Root'
});
roott.appendChild(new Ext.tree.TreeNode({
text:'子节点'
}));
var treeP = new Ext.tree.TreePanel({
title:'树',
renderTo:'tree',
root:roott,
height:200,
width:200
});
});
用上面的代码在EXT3.0中建立一棵树建立不了,求指导!!Tomcat已启动,其它ext程序能运行,不存在环境问题。所要的包都已经引入,然后也存在有一个层的id叫做“tree”!一个星期没解决了... 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询