Closed MiaHuangMia closed 2 years ago
This is state in documentation: The mso.styles option lets you define the css attributes of the original html table cells, that should be taken over when exporting to an excel worksheet (Excel 2000 html format only).
if I Export type is "excel",it's works fine, but if type is "xlsx",styles are not works. Following is my code,
$("table").tableExport({ type: "xlsx", //"excel" is works fine escape: "false", mso: { styles:['background-color', 'border-top-color', 'border-left-color', 'border-right-color', 'border-bottom-color', 'border-top-width', 'border-left-width', 'border-right-width', 'border-bottom-width', 'border-top-style', 'border-left-style', 'border-right-style', 'border-bottom-style', 'color'] } });