TableTools not loading, nor table displaying when attempting to initialise it
TableTools not loading, nor table displaying when attempting to initialise it
Hello. This is the code I'm using to try and initialise TableTools:
<link href="//cdn.datatables.net/tabletools/2.2.2/css/dataTables.tableTools.css" rel="stylesheet">
The SWF path is correct, and when removing the table tools code everything works as expected.
Am I missing something?
All that happens is my table doesn't display any results, just the column names.
When looking at Safari's error console, it just reports:
SyntaxError: Expected token '}'
Thank you for any help.
This question has an accepted answers - jump to answer
Answers
Add a comma after the bracket:
".../copy_csv_xls_pdf.swf" }, "
Now I feel very silly. Thanks! Sometimes you can't see the wood for the trees.