Bootstrap 4.2.1 doesn't work with DataTables
Bootstrap 4.2.1 doesn't work with DataTables
Livien
Posts: 2Questions: 1Answers: 1
A few days ago was realised a new version of Bootstrap (4.2.1) and it doesn't work with DataTables 1.10.19. Can you make a correction, or tell me what to change to get back working? Thx
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Oh, the problem was in jQuery. Sorry, everything is working
No problem - thanks for posting back.
Allan
@Livien I am facing issue with bootstrap 4.2.1. May I know how to fix this? For work around downgrading bootstrap to 4.1.3 fixs the table rendering issue.
Looks ok in this example with BS 4.2.1:
http://live.datatables.net/sigesogu/1/edit
Can you provide a link or a test case replicating the issue? This way we can help debug.
Kevin
@kthorngren. I have the same issue. Could you indicate why you used JQ 1.11.3 instead of 3.3.1 (that DT uses) ?
No reason. Its the default version that http://live.datatables.net provides. According to the dependencies doc jQuery 1.7 and up will work with Datatables.
I updated my example to use 3.3.1 and it still looks ok:
http://live.datatables.net/tolehoqo/1/edit
What exactly is the issue you are having?
In order to help debug please provide a link to your page or a test case replicating the issue.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Thanks for updating the example.
After you confirmed the setup, I looked and found that there is an extra css file that is disturbing the layout.
I checked that using firebug and found the source of layout problem.
Thanks again,