Answers for "datatables dom hide search"

1

hide search in datatable

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; }
Posted by: Guest on January-26-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language