📜  在数据表中隐藏搜索 - Javascript 代码示例

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

代码示例1
Three ways of doing are:

For DataTables >=1.10, use:
    $('table').dataTable({searching: false, paging: false, info: false});

For DataTables <1.10, use:
    $('table').dataTable({bFilter: false, bInfo: false});

or using pure CSS:
    .dataTables_filter, .dataTables_info { display: none; }