{"inframe":false,"title":"跨多列","hidden":false,"roles":{"demo":1,"dev":1},"children":[{"configs":{"itemId":"module"},"children":[{"configs":{"layout":"fit","itemId":"viewport1"},"children":[{"configs":{"itemId":"grid1"},"children":[{"configs":{"groupField":"TITLE","itemId":"store","autoLoad":"true","url":"m?xwl=examples/controls/grid/data-source/select-employee"},"children":[],"expanded":false,"type":"store"},{"configs":{"ftype":"rowbody","itemId":"features","setupRowData":"var headerCt = this.view.headerCt,\n  colspan = headerCt.getColumnCount(),\n  hours = record.get('VACATION_HOURS');\nExt.apply(rowValues, {\n  rowBody: '<div style=\"padding: 1em\">该员工已经休假 ' + record.get('VACATION_HOURS') +\n    ' 小时，计 ' + Wb.format(hours / 8, '0.0') + ' 天。<\/div>',\n  //rowBodyCls: \"my-body-class\",\n  rowBodyColspan: colspan\n});"},"children":[],"expanded":false,"type":"feature"},{"configs":{"itemId":"columns"},"children":[{"configs":{"summaryRenderer":"return summaryData._featureObject instanceof Ext.grid.feature.Summary ? '总计：' : '合计：';","text":"名","dataIndex":"FIRST_NAME","itemId":"firstNameCol","renderer":"var sex = record.get('SEX');\nreturn Wb.getIcon(record.get('SEX') == 'M' ? 'user_icon' : 'user1_icon', sex) + value;"},"children":[],"expanded":false,"type":"column"},{"configs":{"summaryRenderer":"return Wb.format('共 {0} 人', value);","text":"姓","dataIndex":"LAST_NAME","itemId":"lastNameCol","summaryType":"count"},"children":[],"expanded":false,"type":"column"},{"configs":{"summaryRenderer":"return '最年轻：' + Wb.dateToText(value);","text":"生日","width":"130","dataIndex":"BIRTH_DATE","itemId":"birthDateCol","summaryType":"max"},"children":[],"expanded":false,"type":"column"},{"configs":{"text":"性别","align":"center","width":"50","dataIndex":"SEX","titleAlign":"left","itemId":"sexCol"},"children":[],"expanded":false,"type":"column"}],"expanded":true,"type":"array"}],"expanded":true,"type":"grid"}],"expanded":true,"type":"viewport"}],"expanded":true,"type":"module"}],"pageLink":"","iconCls":""}