我正在使用 AlivePDF 在 Flex 中将我的数据导出到网格中。我还在使用 AdvanceDataGrid 的浏览器上显示相同的数据,其中也存在分组列。我也希望在 PDF 中显示相同的分组列。有没有办法做到这一点?
grid.columns = [{headerText:'Code', dataField:'code', width:22},
{headerText:'Label',dataField:'label', width:22},
{headerText:'Last Months',dataField:'lastMnth', width:22},
{headerText:'Last Quarter',dataField:'lastQtr', width:22},
{headerText:'Last Year',dataField:'lastFy', width:22}];
在上面的代码中,我想对列 lastMnth 和 lastQtr 进行分组。