I'm trying to follow this supposedly simple initialization process for DataTables
plugin TableTools
. As far as I can tell, I'm simply supposed to specify the tableTools
parameter, within which I follow the same process to initialize other TableTools
options. However, I'm getting literally nothing using the code below.
Is there anyone familiar with the plugin that can help?
jQuery
$('#ReportTable').dataTable({
"aaData": array,
"aoColumns": headers,
"bFilter": false,
"bPaginate": false,
"bLengthChange": false,
"bFilter": false,
"bSort": false,
"bInfo": false,
"aaSorting": [],
"oLanguage": {
"sSearch": "Filter results:"
},
"dom": 'T<"clear">lfrtip',
"tableTools": {
"aButtons": [ "copy", "print" ]
}
});
Results
I just get the DataTable
, not TableTools
button menu.