{"hidden":false,"children":[{"configs":{"itemId":"module"},"expanded":true,"children":[{"configs":{"layout":"fit","itemId":"viewport1"},"expanded":true,"children":[{"configs":{"itemId":"tree1","title":"树表格","tools":"Wb.getTreeTools()","rootVisible":"false"},"expanded":true,"children":[{"configs":{"itemId":"store","url":"m?xwl=examples/controls/tree/data-source/tree-select"},"expanded":false,"children":[],"type":"treestore","events":{"beforeload":"var node = operation.node;\noperation.params.parentDept = node.isRoot() ? -1 : operation.node.data.DEPT_ID;"}},{"configs":{"itemId":"viewConfig","markDirty":"false"},"expanded":false,"children":[],"type":"tableview"},{"configs":{"itemId":"columns"},"expanded":true,"children":[{"configs":{"itemId":"deptNameCol","xtype":"treecolumn","dataIndex":"text","width":"300","text":"部门名称"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"deptIdCol","dataIndex":"DEPT_ID","width":"130","text":"部门编号"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"checkCol","xtype":"checkcolumn","dataIndex":"DONE_CHECK","menuDisabled":"true","width":"70","text":"完成"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"actionCol","handler":"Wb.info('你正在编辑部门\u201c' + record.data.text + '\u201d。');","xtype":"actioncolumn","width":"70","tooltip":"编辑","isDisabled":"return !record.data.leaf;","text":"编辑","align":"center","iconCls":"db_form_edit_icon"},"expanded":false,"children":[],"type":"column"}],"type":"array"}],"type":"tree"}],"type":"viewport"}],"type":"module"}],"roles":{"demo":1},"title":"树表格","iconCls":"","inframe":false,"pageLink":""}