dataTables pagination hide buttons

dataTables pagination hide buttons

bytecbytec Posts: 37Questions: 10Answers: 0

Hi all, I have a script that is using dataTables pagination in a automatic loop. I don't want to show the pagination buttons or the page numbers. How can I hide them?

Many thanks.

Answers

  • kthorngrenkthorngren Posts: 21,327Questions: 26Answers: 4,949
    edited October 2021

    You can use the dom option to specify which Datatables elements to display. Basically you will remove the i and p letters from the option. Also see this example.

    Kevin

  • bytecbytec Posts: 37Questions: 10Answers: 0

    Hi kthorngren many thanks that did the trick.

Sign In or Register to comment.