我正在尝试添加到已经使用插件tableTools
的现有表中。按钮不加载。这是我的代码:DataTable
tableTools
var dataTableOptions = {
"sScrollY": "475px",
"bAutoWidth": true,
"bSort": true,
"bPaginate": true,
"sPaginationType": "full_numbers",
"bFilter": true,
"bInfo": true,
"bJQueryUI": true,
"sDom": '<"clear">lfrtip',
"oTableTools": {"sSwfPath": appPath + "/swf/copy_csv_xls_pdf.swf"}
};
$j("#movementsResults table").dataTable(dataTableOptions);
该dataTable
部分完全工作,但tableTools
似乎没有工作。我确保所有文件路径都是正确的,包括.swf
路径,我只是找不到问题。