dataTables pagination hide buttons

dataTables pagination hide buttons

bytecbytec Posts: 31Questions: 8Answers: 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: 14,089Questions: 25Answers: 3,325
    edited October 4

    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: 31Questions: 8Answers: 0

    Hi kthorngren many thanks that did the trick.

Sign In or Register to comment.