excel-export
excel-export copied to clipboard
excel-export grails plugin
After including compile `:excel-export:0.2.1`in `BuildConfig.groovy` i can not run the project anymore as startup fails due to 4 compilation errors. This is on an elderly Grails 2.1.5 project. `| Error...
The data I'm putting into Excel files is coming from SQL queries, and a few columns are percentages comparing other columns. To get them to come out formatted as percentages,...
Where I am using this plugin I am exporting records with Currency values using a CurrencyGetter. In the excel file every column/cell is formatted to a string. This means the...
Method closeZipPackageIfPossible is not being called. "Try with resources" is not supported in groovy, so will have to change that into a closure.
[This](https://github.com/TouK/excel-export/blob/master/README.md#how-to-export-my-own-types) resolves handling own types , however , it does not taske benefits of groovy extra-features comparing with Java . My suggestion is to use Closures directly : ``` def...
At the moment, the only way to get something formatted as a date is for the getter to return a Date object. I have a number of date/time instances across...
Hi I have this piece of code in **SampleController.groovy** which downloads sample excel def xls = new WebXlsxExporter(filePath).with { response.setHeader "Content-disposition", "attachment; filename=samole.xlsx" response.contentType = 'application/vnd.ms-excel' LOG.info("sample Excel") save(response.outputStream) }...
Hi, we love excel export, but we cant get any styling to work. We use a template. In the template we added background colours, big fonts etc to various cells....
I'm using grails 2.1.5, Java 7 and in the declaration: WebXlsxExporter webXlsxExporter = new WebXlsxExporter() webXlsxExporter.setWorksheetName("historico_coletas") webXlsxExporter.with { setResponseHeaders(response) fillHeader(headers) add(closedPickups, withProperties) save(response.outputStream) } the methods "fillHeader", "add" and "save"...