DT Buttons

DT Buttons

webdeveloper79webdeveloper79 Posts: 5Questions: 2Answers: 0

I can not get buttons to appear on the page no matter what I try. Used to work, but somehow I broke it.

https://debug.datatables.net/ilekiy

Anybody help me find the error of my ways?

Answers

  • kthorngrenkthorngren Posts: 21,303Questions: 26Answers: 4,947

    Hard to say without seeing your code. Can you post a link to your page or a test case showing the issue?

    Kevin

  • webdeveloper79webdeveloper79 Posts: 5Questions: 2Answers: 0

    Sorry, the page is an internal application. I did use the debug tool which supplies the rendered version of the output.

  • kthorngrenkthorngren Posts: 21,303Questions: 26Answers: 4,947
    edited December 2017

    I did use the debug tool which supplies the rendered version of the output.

    Yes, it shows you are using Buttons 1.4.2, it shows your DOM config and that you are using flash buttons. However it doesn't show that you are loading buttons.flash.min.js nor if anything else you may have could conflict.

    Are you seeing errors in your browser's console?

    Does the example here work with your browser?

    Kevin

  • webdeveloper79webdeveloper79 Posts: 5Questions: 2Answers: 0

    Yes, I am loading all the JS, these all loaded with 200.

    bootstrap.min.js
    brands.min.js
    buttons.bootstrap.min.js
    buttons.flash.min.js
    buttons.html5.min.js
    buttons.print.min.js
    dataTables.bootstrap.min.js
    dataTables.buttons.min.js
    fontawesome.min.js
    highcharts.src.js
    jAlert.js
    jquery-1.12.4.min.js
    jquery-ui.min.js
    jquery.dataTables.min.js
    jSiteMessage.js
    jszip.min.js
    light.min.js
    pdfmake.min.js
    regular.min.js
    solid.min.js
    vfs_fonts.js

    No, I do not get any console errors, and the buttons Div is loading into the rendered HTML, but it is void of buttons.
    .

    Finally, yes the examples of the website work perfectly, and so did this until I did something, but no idea what.

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    Study the loading sequence for js files in the example @kthorngren gave you.

This discussion has been closed.