{"hidden":false,"children":[{"configs":{"itemId":"module"},"expanded":true,"children":[{"configs":{"layout":"fit","itemId":"viewport1"},"expanded":true,"children":[{"configs":{"exportTitle":"导出表格标题","itemId":"grid1","exportFilename":"导出文件名"},"expanded":true,"children":[{"configs":{"itemId":"store","autoLoad":"true","url":"m?xwl=examples/crud/crud-db-access/basic-select"},"expanded":false,"children":[],"type":"store"},{"configs":{"itemId":"columns"},"expanded":true,"children":[{"configs":{"itemId":"rowNumCol","xtype":"rownumberer"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"idCol","hidden":"true","allowExport":"true","showInMenu":"false","dataIndex":"ID_FIELD","width":"130","text":"不显示但可导出"},"expanded":false,"children":[],"type":"column"},{"configs":{"itemId":"strBoolCol","text":"二层表头"},"expanded":true,"children":[{"configs":{"itemId":"stringCol","dataIndex":"STRING_FIELD","width":"120","text":"字符串字段"},"expanded":true,"children":[],"type":"column"},{"configs":{"itemId":"boolCol","dataIndex":"BOOL_FIELD","keyName":"bool","text":"键值字段"},"expanded":true,"children":[],"type":"column"}],"type":"column"},{"configs":{"itemId":"mixedCol","exportText":"HTML链接表头","text":"<a href=\"http://www.ag6666666\" target=\"_blank\">HTML链接表头<\/a>"},"expanded":true,"children":[{"configs":{"itemId":"numCols","text":"数字列"},"expanded":true,"children":[{"configs":{"itemId":"intCol","dataIndex":"INT_FIELD","format":"#,###","text":"标题右对齐","align":"right","titleAlign":"right"},"expanded":true,"children":[],"type":"column"},{"configs":{"itemId":"doubleCol","dataIndex":"DOUBLE_FIELD","text":"标题左对齐","align":"right","titleAlign":"left"},"expanded":true,"children":[],"type":"column"},{"configs":{"itemId":"percentCol","dataIndex":"DOUBLE_FIELD","format":"#,###.00%","text":"百分比","align":"right","titleAlign":"left"},"expanded":true,"children":[],"type":"column"}],"type":"column"},{"configs":{"itemId":"datetimeCol","dataIndex":"DATETIME_FIELD","width":"170","text":"日期时间字段"},"expanded":true,"children":[],"type":"column"}],"type":"column"},{"configs":{"itemId":"clobCol","allowExport":"false","dataIndex":"CLOB_FIELD","flex":"1","text":"该列不导出"},"expanded":true,"children":[],"type":"column"}],"type":"array"}],"type":"grid"}],"type":"viewport"}],"type":"module"}],"roles":{"demo":1},"title":"定制表格导出","iconCls":"","inframe":false,"pageLink":""}