How to make tabletools not use flash
How to make tabletools not use flash
current code :
"tableTools": {
"sSwfPath": "/swf/copy_csv_xls_pdf.swf",
"aButtons": [
{
"sExtends": "copy",
"mColumns": copyColumn,
"sButtonText": "Copy to clipboard"
},
{
"sExtends": "csv",
"mColumns": copyColumn,
"sButtonText": "Save to CSV"
}
]
}
Answers
Don't use TableTools. It was end of life back in 2016. Use its replacement - Buttons. Buttons has support for HTML5 export (i.e. not using Flash).
Allan