We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using below code, not able to convert the data into one excel with mutiple sheets. I am getting all data in one sheet.
var jsonXlsx = [[{ "Name": "Eddie", "Email": "edward@mail" }], [{ "Name": "Nico", "Email": "nicolas@mail" }]] ; const sheets = ['a','b']; var excelPageData = []; /* Generate automatic model for processing (A static model should be used) */ var model = mongoXlsx.buildDynamicModel(jsonXlsx); /* Generate Excel */ excelPageData.push(mongoXlsx.mongoData2XlsxData(jsonXlsx, model)); mongoXlsx.mongoData2XlsxMultiPage(excelPageData, sheets, function(err, data) { console.log(err) console.log('File saved at:', data.fullPath); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using below code, not able to convert the data into one excel with mutiple sheets. I am getting all data in one sheet.
The text was updated successfully, but these errors were encountered: