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;
}
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;
}
相关文章推荐
- GCC参数详解
- 浅谈性能测试---响应时间
- Android中实现定时器的3种解决方法
- 数据结构学习笔记03队列
- [Android Pro] static 和 Volatile 的区别
- 汇编程序的Hello world
- 解决MVC4 时间验证Bug
- 版本控制工具Git 常用操作命令
- Android 简单封装的例子
- 浏览器兼容【样式在部分浏览器中正常显示, 部分不正常显示】
- 14.自定义广告轮播GalleryDemo
- 腾讯2016校招笔试题(含答案)
- swift约束之SnapKit的使用方式
- 排
- Spring(一)第一个示例
- mysql编译安装
- Android自定义控件实战——滚动选择器PickerView
- HDU 3746 Cyclic Nacklace (KMP求循环结)
- 深入分析FFmpeg之一-打开媒体文件并读取文件头信息
- 并发绘图