{"hidden":false,"children":[{"configs":{"itemId":"module"},"expanded":true,"children":[{"configs":{"layout":"fit","itemId":"viewport1"},"expanded":true,"children":[{"configs":{"itemId":"grid1"},"expanded":true,"children":[{"configs":{"groupField":"DEPT_NAME","itemId":"store","autoLoad":"true","url":"m?xwl=examples/controls/grid/data-source/select-employee"},"expanded":false,"children":[],"type":"store"},{"configs":{"itemId":"features","ftype":"grouping","groupHeaderTpl":"{name} ({rows.length} 人)"},"expanded":false,"children":[],"type":"feature"},{"configs":{"itemId":"columns"},"expanded":true,"children":[{"configs":{"itemId":"realNameCol","renderer":"var sex = record.get('SEX');\nreturn Wb.getIcon(record.get('SEX') == '2' ? 'user1_icon' : 'user_icon', sex) + value;","dataIndex":"REAL_NAME","width":"180","text":"姓名"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"sexCol","dataIndex":"SEX","keyName":"sex","width":"50","text":"性别"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"birthDateCol","dataIndex":"BIRTH_DATE","text":"生日"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"vacationHoursCol","dataIndex":"VACATION_HOURS","width":"110","format":"#,##0","text":"休假时长","align":"right"},"expanded":false,"children":[],"type":"column"}],"type":"array"}],"type":"grid"}],"type":"viewport"}],"type":"module"}],"roles":{"demo":1},"title":"分组","iconCls":"","inframe":false,"pageLink":""}