更新时间:2023-12-05 23:37:58
使用DataTables构造函数:
Using the DataTables constructor:
$('table').dataTable({bFilter: false, bInfo: false});
或使用纯CSS:
.dataTables_filter, .dataTables_info { display: none; }
对于DataTable 1.10,使用:
For DataTables 1.10, use:
$('table').dataTable({searching: false, paging: false});