I would like to ask for your help regarding DataTables plugin.
I did all my setup following the setup documents on datatables website, like below:
$("#DataTableNuse").DataTable(
{
ordering: true,
bLengthChange: false,
iDisplayLength: 10,
bFilter: false,
pagingType: "full_numbers",
bInfo: false,
dom: "Bfrtip",
buttons:
[
{ extend: 'pdf', text: 'Exportar PDF', title: 'Nuse' },
{ extend: 'excel', text: 'Exportar Excel', title: 'Nuse' }
],
language:
{
emptyTable: "<li class='text-danger' align='center'>NUSE não encontrada</li>",
paginate:
{
previous: "<",
next: ">",
first: "|<",
last: ">|"
}
}
});
Also tried the "full" options as well instead "full_numbers".
It is everything working fine, but the problem is that I need to change the layout to properly follow the customer's standards.
I need a new layout like below:
Where:
">" will paginate 10 in 10
">>" will paginate 20 in 20
"|>" last page
Anyone could give me a hand on that.
Thank you in advance.
Best regards,
Thiago
