Include JS
::
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.21/js/jquery.dataTables.js"></script>
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.21/js/dataTables.bootstrap4.min.js"></script>
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/responsive/2.2.4/js/dataTables.responsive.min.js"></script>
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/responsive/2.2.4/js/responsive.bootstrap4.min.js"></script>
<script>
$(document).ready( function () {
$('.data-table').DataTable( {
'language': {
'lengthMenu': '_MENU_ Results for page',
'zeroRecords': 'No results',
'info': 'Page _PAGE_ of _PAGES_',
'infoEmpty': 'No results',
'infoFiltered': '(Filtered on _MAX_ total results)',
'search': 'Search: ',
'paginate': {
'first': 'First',
'last': 'Last',
'next': 'Next',
'previous': 'Previous'
}
},
'initComplete': () => { $('.data-table').fadeIn(); $('.graph').fadeIn(); }
} );
} );
</script>