Showing Buttons with Bootstrap 4, but trying to inhibit page summary and prev/next feature.
Showing Buttons with Bootstrap 4, but trying to inhibit page summary and prev/next feature.
Looked through this Q/A (https://datatables.net/forums/discussion/41807), and the answer was to remove the dom: 'Bflrtip'
because the selector .col-sm-6:eq(0)
in ticketTable.buttons().container().appendTo( $('.col-sm-6:eq(0)', ticketTable.table().container() ) );
isn't finding anything when styling the page with Bootstrap.
When I follow this advice, how do I then hide the page summary and prev/next links when the table only has a few records in it and I want to hide those items?
This question has an accepted answers - jump to answer
Answers
Have a look at this plug-in which will dynamically show and hide the DataTables table components based on the data held in the table.
Allan