Is there any options to export HTML template of report to xls/xlsx file?
Hello,
the answer is no.
check this out, bottom of the page
https://docs.jmix.io/jmix/reports/creation/templates.html
So, the possible output format choice depends on the chosen template.
If you want the output to be an Excel file, you can make another template in Excel, its fast and easy, and then when generating the report choose the Excel template. You can have several templates for one report.
If you want the most versatile template, make jrxml one.
Kind regards,
Mladen
what a pity. I have a problem with the format of numeric values with Excel. I thought maybe I could fix it through HTML template.
Maybe you can format your date values, using the value formats
https://docs.jmix.io/jmix/reports/creation/value-formats.html
there is possibility to use a groovy script to for very fine control.
If nothing works, format your value in your code as a string, or in the dataset, then pass the value to the template as a string.
Asking a question on excel forum also is an option.
Kind regards,
Mladen