DataTables JS Library
Requirements:
- JQuery
Usage:
Include the CSS and JS code for DataTables to the head and bottom of the body of your website, respectively. CSS is not required.
<link rel="stylesheet" type="text/css" href= "{{ url_for('static',filename='style.css') }}">
<script type="text/javascript" src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
Use the single function bellow to call to initialise the tabl. Do not forget to add an id tag to the table.
Add options like so: