📅  最后修改于: 2022-03-11 15:00:30.783000             🧑  作者: Mango
$(document).ready(function() {
var table = $('#example').DataTable( {
rowReorder: {
selector: 'td:nth-child(2)'
},
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print'
],
responsive: true
} );
} );