DataTables pagination not showing on Bootstrap 4 Beta. Not compatible?
DataTables pagination not showing on Bootstrap 4 Beta. Not compatible?
rsalunga29
Posts: 6Questions: 2Answers: 0
Bootstrap 4 and DataTables seems to work fine together, except DataTable's pagination isn't showing, I've also tried using "paging" : true but it doesn't work. I've tried a few fixes I found over the internet but they don't work. I'm starting to think the current version of DataTables is not compatible with the latest release of Bootstrap 4
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It seems to be okay here. Perhaps you can link to a page showing the issue.
Allan
I'm using these following JS dependencies:
https://code.jquery.com/jquery-3.2.1.min.js
bootstrap4.min.js (on my local)
https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js
Hi @allan it seems like even with following that tutorial, the pagination is still not showing. And unfortunately, the website isn't on the internet yet so I can't link it to you.
I've linked to a page which shows it working. Without a test case showing it not working, I'm afraid I'm not sure what further input you want from me? I don't know what is wrong with the page you have because I can't see it.
Allan
Hm, after further testing on a blank page, it worked. I guess it's conflicting with my other javascript codes.
Okay, this is my mistake. I forgot to include the "id" tag on my ajax when I integrated my table UI. Pardon and thank you!