{"inframe":false,"title":"数据加载","hidden":false,"roles":{"demo":1,"dev":1},"children":[{"configs":{"itemId":"module"},"children":[{"configs":{"layout":"fit","itemId":"viewport1"},"children":[{"configs":{"autoScroll":"true","border":"false","itemId":"panel1"},"children":[{"configs":{"defaults":"{\n  padding: 8\n}","style":"margin-left:auto;margin-right:auto;","width":"800","border":"false","padding":"8","itemId":"panel2"},"children":[{"configs":{"title":"从数据库生成树","collapsible":"true","itemId":"fieldset1"},"children":[{"configs":{"rootVisible":"false","height":"200","itemId":"fromDbTree"},"children":[{"configs":{"itemId":"store","url":"m?xwl=examples/controls/tree/data-source/tree-select"},"events":{"beforeload":"var node = operation.node;\noperation.params.parentDept = node.isRoot() ? -1 : operation.node.data.DEPT_ID;"},"children":[],"expanded":false,"type":"treestore"}],"expanded":true,"type":"tree"}],"expanded":true,"type":"fieldset"},{"configs":{"title":"加载大量节点","collapsible":"true","itemId":"fieldset2"},"children":[{"configs":{"height":"200","root":"{\n  text: '5000个子节点'\n}","plugins":"{ptype:'bufferedrenderer'}","itemId":"bufferedTree"},"children":[{"configs":{"itemId":"store","url":"m?xwl=examples/controls/tree/data-source/5000-nodes"},"children":[],"expanded":false,"type":"treestore"}],"expanded":true,"type":"tree"}],"expanded":true,"type":"fieldset"}],"expanded":true,"type":"panel"}],"expanded":true,"type":"panel"}],"expanded":true,"type":"viewport"}],"expanded":true,"type":"module"}],"pageLink":"","iconCls":""}