-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Append more values to sharedStrings of workbook #164
Comments
This is library for report generation, why do you want to put values into |
Hi @kant2002, I am also using it for report generation. In my case, I am delaying the values parsed into |
Aah, now it make sense, so you essentially want stream substitution process. And be able append more substitution values over and over again until you done. Is this correct? Examplevar batch1 = [
{name: "John Smith", age: 20},
{name: "Bob Johnson", age: 22}
];
// Perform substitution
template.substitute(sheetNumber, values);
var batch2 = [
{name: "Andrii Hopak", age: 33},
{name: "Marat Beysabekov", age: 52}
];
// Feed additional data to substitution process
template.continueSubstitute(sheetNumber, values); |
It is throwing this error -
|
There no such functionality in the library at the moment. You have to collect all data into one object, and if you are done, then perform substitution. |
Understood @kant2002. In addition, does this library support merging multiple excel files into one? If it does, it solves my issue. |
No, merging of XLSX files should happens via other means. This library is for simple template substitution. |
My workbook is already loaded with values and placeholders. The total of sharedStrings is now 530. I would like to add(append) more values to the sharedStrings along with a loop.
The text was updated successfully, but these errors were encountered: