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.

icefieldicefield Posts: 45Questions: 19Answers: 1
edited April 2018 in DataTables 1.10

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

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    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

This discussion has been closed.