You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 25, 2021. It is now read-only.
var ExportButtons = document.getElementById('dynamic-table');
var instance = new TableExport(ExportButtons, {
formats: ['xlsx'],
position: "top",
header:true,
filename: 'Supplier_',
ignoreCols: 7,
trimWhitespace: true,
exportButtons: false,
htmlContent: true,
sheetname: 'Supplier List'
});
var exportData = instance.getExportData()['dynamic-table']['xlsx'];
var xlsxData = exportData.xlsx;
var XLSbutton = document.getElementById('btn_excl');
XLSbutton.addEventListener('click', function (e) {
instance.export2file(exportData.data, exportData.mimeType, exportData.filename, exportData.fileExtension, exportData.merges, exportData.RTL, exportData.sheetname);
});
The text was updated successfully, but these errors were encountered:
shubhamm829
changed the title
i want to increase width of particular columns when i am exporting html table to xlsx format using tableexport.js.
i want to increase width of particular columns when i am exporting html table to xlsx format using tableexport.js.
Apr 7, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My code is:
var ExportButtons = document.getElementById('dynamic-table');
var instance = new TableExport(ExportButtons, {
formats: ['xlsx'],
position: "top",
header:true,
filename: 'Supplier_',
ignoreCols: 7,
trimWhitespace: true,
exportButtons: false,
htmlContent: true,
sheetname: 'Supplier List'
});
var exportData = instance.getExportData()['dynamic-table']['xlsx'];
var xlsxData = exportData.xlsx;
var XLSbutton = document.getElementById('btn_excl');
XLSbutton.addEventListener('click', function (e) {
instance.export2file(exportData.data, exportData.mimeType, exportData.filename, exportData.fileExtension, exportData.merges, exportData.RTL, exportData.sheetname);
});
The text was updated successfully, but these errors were encountered: