您的位置:首页 > 其它

Ext.tree.Panel

2016-03-24 17:55 351 查看
initComponent : function() {

var data = null;
Ext.Ajax.request({
url : 'xxx/xx',
method : 'GET',
async:false,
//params:{pid:this.pj},
success : function(response, opts) {
var respText = Ext.JSON.decode(response.responseText);
data = respText.data;
}
});
TreePanel.root = data;

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: