extjs5 使用 treepanel 、treeStore、Proxy
一直想使用 extjs5 treeStroe with Proxy 方式一次性load 所有树形结构数据,结果没成功,
treeStroe 在每次点击展开的时候都会发起请求到后台,url里面还增加node参数。
只能做成异步加载了。每次只load 当前节点的子节点。
[code="js"]
Ext.define('publicweb.store.MenuTreeStore', ...
原创
2014-11-26 21:57:29 ·
495 阅读 ·
0 评论