【发布时间】:2016-12-01 13:37:11
【问题描述】:
我正在尝试根据 jQuery 数据表中的数据导出 CSV 文件,我希望它排除第一列数据,这是我当前的脚本。
<script>
$(document).ready(function() {
$('#example').DataTable( {
dom: 'Bfrtip',
lengthMenu: [
[ 10, 25, 50, -1 ],
[ '10 rows', '25 rows', '50 rows', 'Show all' ]
],
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print', 'pageLength'
]
} );
} );
</script>
请问我需要添加什么才能使其正常工作
【问题讨论】:
标签: jquery datatables