Pagination on Bootstrap 5.3.3 display wrong.

Pagination on Bootstrap 5.3.3 display wrong.

mediatvguymediatvguy Posts: 5Questions: 1Answers: 0

On the latest Bootstrap release (5.3.3) the datatables pagination element doesn't show properly. The native BS display is much nicer and matches the rest of the page. Please see the attached picture. It shows very different that your example for BS 5.

Answers

  • mediatvguymediatvguy Posts: 5Questions: 1Answers: 0
    edited May 29

    this is 5.3.3

  • mediatvguymediatvguy Posts: 5Questions: 1Answers: 0
    edited May 29

    This is your sample

  • mediatvguymediatvguy Posts: 5Questions: 1Answers: 0

    Any ideas on how to "fix" this folks?

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

    It looks like you've got the DataTables default styling rather than the Bootstrap integration for DataTables.

    Did you select the Bootstrap 5 option on the download page?

    If you link to a page showing the issue I can take a look at it.

    Allan

  • mediatvguymediatvguy Posts: 5Questions: 1Answers: 0

    That dit it. Replaced the first two lines for the second two lines.

    Thank you Allan...

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

    Perfect - thanks for letting me know!

    For info, the first one you had is fine - but it is the DataTables default styling, which is why it looked the way it did (a bit rubbish on a Bootstrap 4 page!).

    Allan

Sign In or Register to comment.