I have two dataTables on the same page, like this example: https://datatables.net/examples/basic_init/multiple_tables.html
Until no problem ..
It shares many parameters in common, for example for buttons or language
$('table').DataTable({
language: {
search: "",
searchPlaceholder: "Search ...",
sLengthMenu:"_MENU_",
sInfo:"_TOTAL_ elmt",
infoFiltered: "",
sInfoEmpty: "0 elmt",
"oPaginate": {
"sPrevious": "<",
"sNext": ">"
}
}
});
However, I wish to give them different pageLength sizes and different tries,
How can I do ?
Knowing that the ID of the first table is table-one and the ID of the second is table-two
$('#table-one').DataTable()and$('#table-two').DataTable()and give everyone it's own params?