📜  MOBILE RESPONSIVE 数据表显示在移动设备上,带有 EXCEL PDF 按钮的详细视图 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:30.783000             🧑  作者: Mango

代码示例1
$(document).ready(function() {
    var table = $('#example').DataTable( {
        rowReorder: {
            selector: 'td:nth-child(2)'
        },
        buttons: [
                'copy', 'csv', 'excel', 'pdf', 'print'
            ],
        responsive: true
    } );
} );