{"inframe":false,"title":"树表格","hidden":false,"roles":{"demo":1,"dev":1},"children":[{"configs":{"itemId":"module"},"children":[{"configs":{"layout":"fit","itemId":"viewport1"},"children":[{"configs":{"rootVisible":"false","title":"树表格","tools":"Wb.getTreeTools()","itemId":"tree1"},"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"},{"configs":{"markDirty":"false","itemId":"viewConfig"},"children":[],"expanded":false,"type":"tableview"},{"configs":{"itemId":"columns"},"children":[{"configs":{"text":"部门名称","width":"300","xtype":"treecolumn","dataIndex":"text","itemId":"deptNameCol"},"children":[],"expanded":false,"type":"column"},{"configs":{"text":"部门编号","align":"right","dataIndex":"DEPT_ID","itemId":"deptIdCol"},"children":[],"expanded":false,"type":"column"},{"configs":{"text":"完成","menuDisabled":"true","width":"70","xtype":"checkcolumn","dataIndex":"DONE_CHECK","itemId":"checkCol"},"children":[],"expanded":false,"type":"column"},{"configs":{"isDisabled":"return !record.data.leaf;","text":"编辑","align":"center","xtype":"actioncolumn","width":"70","itemId":"actionCol","iconCls":"db_form_edit_icon","handler":"Wb.info('你正在编辑部门\u201c' + record.data.text + '\u201d。');","tooltip":"编辑"},"children":[],"expanded":false,"type":"column"}],"expanded":true,"type":"array"}],"expanded":true,"type":"tree"}],"expanded":true,"type":"viewport"}],"expanded":true,"type":"module"}],"pageLink":"","iconCls":""}