📜  数据表引导程序中的排序禁用 - Javascript 代码示例

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

代码示例1
$('#id-of-my-table').DataTable({
    "columnDefs": [
        { "orderable": false, "targets": [0, 4, 5, 6] },
        { "orderable": true, "targets": [1, 2, 3] }
    ]
});