install for dummies : number of files (js + css)

install for dummies : number of files (js + css)

MelodyNelsonMelodyNelson Posts: 213Questions: 33Answers: 2

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

Hi,

It's a basic question but I have a lot of .js and .css files because I'm trying a lot of extensions to show all the « toys » to the users of the projet I'm working on.

Is there a file combining all the datatables functions /extensions so I can avoid this ?

Thank you

<!-- datatables -->
<script src="/maquette/datatables/jquery.dataTables.min.js"></script>
<script src="/maquette/datatables/dataTables.responsive.min.js"></script>
<script src="/maquette/datatables/dataTables.rowGroup.min.js"></script>
<script src="/maquette/datatables/dataTables.fixedColumns.min.js"></script>
<script src="/maquette/datatables/dataTables.fixedHeader.min.js"></script>
<script src="/maquette/datatables/dataTables.select.min.js"></script>
<script src="/maquette/datatables/dataTables.stateRestore.min.js"></script>
<script src="/maquette/datatables/dataTables.searchPanes.min.js"></script>
<script src="/maquette/datatables/dataTables.searchBuilder.min.js"></script>
<script src="/maquette/datatables/dataTables.dateTime.min.js"></script>
<!-- datatables : buttons -->
<script src="/maquette/datatables/dataTables.buttons.min.js"></script>
<script src="/maquette/datatables/buttons.colVis.min.js"></script>
<script src="/maquette/datatables/buttons.dataTables.min.js"></script>
<script src="/maquette/datatables/buttons.html5.min.js"></script>
<script src="/maquette/datatables/buttons.print.min.js"></script>
<script src="/maquette/datatables/jszip.min.js"></script>
<script src="/maquette/datatables/pdfmake.min.js"></script>
<script src="/maquette/datatables/vfs_fonts.js"></script>
<!-- datatables : css -->
<link rel="stylesheet" href="/maquette/datatables/css/jquery.dataTables.min.css" />
<link rel="stylesheet" href="/maquette/datatables/css/responsive.dataTables.min.css" />
<link rel="stylesheet" href="/maquette/datatables/css/rowGroup.dataTables.min.css" />
<link rel="stylesheet" href="/maquette/datatables/css/fixedColumns.dataTables.min.css" />
<link rel="stylesheet" href="/maquette/datatables/css/fixedHeader.dataTables.min.css" />
<link rel="stylesheet" href="/maquette/datatables/css/select.dataTables.min.css" />
<link rel="stylesheet" href="/maquette/datatables/css/stateRestore.dataTables.min.css" />
<link rel="stylesheet" href="/maquette/datatables/css/searchPanes.dataTables.min.css" />
<link rel="stylesheet" href="/maquette/datatables/css/searchBuilder.dataTables.min.css" />
<link rel="stylesheet" href="/maquette/datatables/css/dataTables.dateTime.min.css" />
<link rel="stylesheet" href="/maquette/datatables/css/buttons.dataTables.min.css" />

Replies

  • kthorngrenkthorngren Posts: 21,443Questions: 26Answers: 4,974
    edited December 2023

    Use the Download builder to get a concatenated JS and CSS files for all the extensions you are interested in. You can download them and use the datatalbles.js and datatables.css in the root, which contains all the extensions selected, on your page.

    Kevin

  • MelodyNelsonMelodyNelson Posts: 213Questions: 33Answers: 2

    Coooool !
    Thank you Kevin :)

Sign In or Register to comment.