Foundation-Datatables integration plugin = broken?
Foundation-Datatables integration plugin = broken?
daveslab
Posts: 40Questions: 14Answers: 0
Hi folks,
I'm using Foundation with Datatables and I downloaded the Datatables Foundation CSS and JS files. Unfortunately, it seems like the styling doesn't completely work. In fact, I noticed that even on the example page, the styling is broken for the paging buttons. Is this slated to be fixed in the near future?
https://datatables.net/examples/styling/foundation.html
Thanks!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I have the same issue. Is there any estimation on the fix?
This page is a better link.
The issue with the example page linked to is that it is loading both the DataTables default stylesheet + the Foundation integration stylesheet. The two conflict and only one should be loaded.
That is an error in my examples and it comes about from the fact that the DataTables default stylesheet is embedded into the site's stylesheet. I need to figure out a way of fixing that!
Allan
Ah I see, I changed my code to remove the datatables default stylesheet and effectively that was the problem. Thanks Allan!