Hello
I pass a foundset for my form to jasper (IReport 3.7.1) and want to get an excel file.
Here my code:
var vj = globals.g_heute.getFullYear().toString();
var vscheisse = globals.g_heute.getMonth() + 1;
var vm = vscheisse.toString();
var vd =globals.g_heute.getDate().toString();
var vdstring = vj+"_"+vm+"_"+vd
var vfilename = globals.GKP_Projekt+"_Kontakte_"+vdstring+".xls";
var bytes = plugins.jasperPluginRMI.runReport(forms.Auswahl_Kontakte.foundset, "Export_Kontakte.jasper", vfilename , OUTPUT_FORMAT.EXCEL, new Object());
plugins.file.writeFile(vfilename,bytes,"application/xls");
Everything is working, but in the resulting excel file the columnheaders are missing???
See attched files (excel result and IReport definition)
[attachment=1]screenshot2.jpg[/attachment]
[attachment=0]screenshot3.jpg[/attachment]
I tried to put the column headers( just labels) in different IReport aeras (page header,title,column header)
No success, allways the same result in excel?
What do i miss?
Regards
Albert