问题描述:
使用datagrid做导出,导出的excel中始终多一个空行。如下图:
解决办法:
在Export2ReportAction中,设置showtitle为false(为true则会产生如上图空行),如下图: