TableExport icon indicating copy to clipboard operation
TableExport copied to clipboard

The property ‘sheetname’ is not working.

Open vwalexanderjin opened this issue 6 years ago • 1 comments
trafficstars

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

vwalexanderjin avatar Oct 28 '19 10:10 vwalexanderjin

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)

hirokith avatar Nov 14 '19 06:11 hirokith