Pagination in dataTable 1.10.*: dont reset container on change current page

Pagination in dataTable 1.10.*: dont reset container on change current page

antonfedonjukantonfedonjuk Posts: 1Questions: 1Answers: 0

I use bootstrap4 styling and append class pagination-sm to pagination container in initComplete callback (i dont find other solutions), but when i change current page pagination container reset and display without pagination-sm.Yes, i can add other callback on redraw, but it's not so useful - need reset elements in container.
https://cdn.datatables.net/v/bs4/dt-1.10.20/b-1.6.1/fh-3.1.6/datatables.min.js

Answers

  • colincolin Posts: 8,013Questions: 0Answers: 1,348

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

Sign In or Register to comment.