Skip to content
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.

The property ‘sheetname’ is not working. #190

Open
vwalexanderjin opened this issue Oct 28, 2019 · 1 comment
Open

The property ‘sheetname’ is not working. #190

vwalexanderjin opened this issue Oct 28, 2019 · 1 comment

Comments

@vwalexanderjin
Copy link

vwalexanderjin commented Oct 28, 2019

TableExport: version 5.2
Question description:
Hi there, I found the property sheetname is now working. you can check the picture I've uploaded.
I'm using the exportButtons way to create the export function.
can anyone help?

1
2

@dickeylth
Copy link

You're following the previous version of doc. You should follow the new doc on the Github homepage

var exportData = table.getExportData(); 
var xlsxData = exportData.table.xlsx; // Replace with the kind of file you want from the exportData
table.export2file(xlsxData.data, xlsxData.mimeType, xlsxData.filename, xlsxData.fileExtension, xlsxData.merges, xlsxData.RTL, xlsxData.sheetname)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants