Cannot get the DataTable library to work (Zero Configuration example)

Cannot get the DataTable library to work (Zero Configuration example)

Lucas_PierruLucas_Pierru Posts: 2Questions: 1Answers: 0
edited July 2017 in Free community support

Hi,

I can't get the first "Zero Configuration" example to work and cannot find the reason of this. I've included the 3 following libs :

<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.15/css/jquery.dataTables.css"/> <script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.15/js/jquery.dataTables.js"/> <script src="https://code.jquery.com/jquery-3.2.1.min.js integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"/>

and simply copy/pasted the rest of the example (including the JQuery script part to initialize the table) into my html but it still display a standard table in plain HTML...

Also, I'm sorry but this is not reproducible in a JSfiddle...

Do you see any reason to what's (not) happening?

This question has an accepted answers - jump to answer

Answers

  • tangerinetangerine Posts: 3,350Questions: 37Answers: 394
    Answer ✓

    jQuery js should precede DataTables' js in your installation.

  • Lucas_PierruLucas_Pierru Posts: 2Questions: 1Answers: 0

    Well spotted, thanks !

This discussion has been closed.