📜  数据表设置 - Javascript 代码示例

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

代码示例1
$('table').dataTable({
    lengthChange: false, //visable show {row} entries
    info : false, // hide showing entries bottom
    pagingType: "first_last_numbers", // showing bottom number
    searching: false, //hide search
    aLengthMenu: [[5, 10, 25, -1], [5, 10, 25, "All"]], // set show {row} entries
    iDisplayLength: 5 // num of rows
});