Jacek Kozioł
Jacek Kozioł
I was trying to use the `xlsx-renderer` in the Browser but it works only partially, I mean the XLSX generates base on the template with provided data, but when it...
@Siemienik Sure, the testing code is available here [XSLX test](https://github.com/jacekkoziol/xlsx) And here is the TypeScript code: Typescript code ```typescript import { Renderer } from 'xlsx-renderer'; import * as Excel from...
@Siemienik Thank you for the answer, code update and tips. I have test it and it work... but only for the first time. Probably still there is something wrong with...
Thank you @Siemienik , it works perfectly 👍 The xlsx-renderer is great! :)
@sumanth-basetty move your `template.xlsx` file to the `public` folder and this should solve the problem :) And you need to update your template or viewModel to correctly generate the file....
@sumanth-basetty The path to the template file needs to be `./template.xlsx` instead of `../public/template.xlsx` In `App.js` file, line 37.
@Siemienik I have notice another issue, if the array in the view model data is empty, the variables of the loop section are not removed and they are just placed...
@Siemienik It seems like the issue is caused by empty arrays on which we try perform the loop.
Does anyone has any answer for this?