tree.on({
load :function(){
rootNode = tree.getRootNode();
function a(ab) {
if (ab.hasChildNodes) {
ab.eachChild(function(child) {
child.attributes.task='wa',
Ext.Ajax.request({
url : 'ww.json',
success : function(response) {
var re = Ext.decode(response.responseText);
child.attributes.user='wa',
a(child)
},
callback : function() {
}
}) })}
}
a(rootNode);
}
extjs的column tree的事件
最新推荐文章于 2023-05-12 17:23:55 发布