Usando o Ireport como fazer para aparecer o columnHeader na planilha excel?
Eu desenhei meu relatorio no ireport mas o columnHead nao sai na planilha
String reportfilename = tagreport(reportname) + ".xls";
JRXlsExporter exporterXLS = new JRXlsExporter();
exporterXLS.setParameter(JRXlsExporterParameter.JASPER_PRINT,
jasperPrint);
/*
exporterXLS.setParameter(JRXlsExporterParameter.IS_DETECT_CELL_TYPE,
Boolean.TRUE);
exporterXLS.setParameter(
JRXlsExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.FALSE);
exporterXLS.setParameter(
JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS,
Boolean.TRUE);
*/
exporterXLS.setParameter(JRXlsExporterParameter.OUTPUT_STREAM, resp
.getOutputStream());
resp.setHeader("Content-Disposition", "inline;filename="
+ reportfilename);
resp.setContentType("application/vnd.ms-excel");
exporterXLS.exportReport();
