Buttons is breaking UIkit theme structure

Buttons is breaking UIkit theme structure

PL47ERPL47ER Posts: 5Questions: 1Answers: 0
edited January 2019 in Free community support

Hi,

I am using UIkit for my tool and so I have integrated DataTables and required components to it. I am using pageResizer to auto resize the table inside its container. UIkit being rendered properly without any issues.
Here is what I am importing to the html page to make it work.

<!-- UIkit -->
<link rel='stylesheet' href='css/uikit.min.css'>

<!-- dataTables -->
<link rel='stylesheet' href='css/dataTables.uikit.css'>

<!-- jQuery -->
<script src='js/jquery-3.3.1.min.js'></script>

<!-- dataTables -->
<script src='js/jquery.dataTables.min.js'></script>
<script src='js/dataTables.uikit.js'></script>

<!-- UIkit -->
<script src='js/uikit.min.js'></script>
<script src='js/uikit-icons.min.js'></script>

<!-- Additional dataTables plugins/Extensions -->
<script src="js/dataTables.pageResize.min.js"></script>

Everything works okay so far.

Now I am trying to import the Buttons extension and it breaks the code for table being rendered with UIkit classes.

<script src="js/dataTables.buttons.min.js"></script>
<script src="js/buttons.html5.min.js"></script>

I have captured pictures from Developer Tools (F12) in Chrome to see the difference in structure.

I am 99% sure that I am using the correct configuration when initializing the table but it is something wrong inside the Buttons extension script that is breaking it up. I am suspecting that possibly because Buttons Extension is still not utilized for UIkit yet ?

It would be great if we can fix that so that I can use buttons on my tool. Thanks.

Answers

This discussion has been closed.