Buttons and Bootstrap 4
Buttons and Bootstrap 4

Hi averybody
I would lke to know how can I mover the button in the bottom of the table, I have this code
dom: 'Bfrtip',
buttons: [
{ extend: 'pdf', text: '<i class="fas fa-file-pdf fa-1x" aria-hidden="true"> Exportar a PDF</i>' },
{ extend: 'excel', text: '<i class="fas fa-file-excel" aria-hidden="true"> Exportar a EXCEL</i>' },
],
Thank you
This discussion has been closed.
Answers
The
dom
option allows you to order where the Datatables elements are placed. You would move theB
to the location in the string where you want the buttons to show. The docs also have examples of how to use Bootstrap styling with thedom
option.Kevin