Change DataTable after initialization by Bootstarp
Change DataTable after initialization by Bootstarp
How can I change the default initialization that is automatically generated by bootstrap ?
I want to add this :
"paging": false
var table = $('#datatable-responsive').DataTable({
"dom": '<"top"lfp>rt<"bottom"ip><"clear">',
"columnDefs": [ {
"targets": 'no-sort',
"orderable": false
} ],
"order": [[ 1, "asc" ]],
"pageLength": 200,
"lengthMenu": [[10, 25, 50, 100, 150, 200, 500, -1], [10, 25, 50, 100, 150, 200, 500, "All"]]
});