Add datatables.net to <table>
This commit is contained in:
12
.gitlab/header.html
Normal file
12
.gitlab/header.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css" />
|
||||
<script type="text/ecmascript" src="https://code.jquery.com/jquery-3.5.1.js"></script>
|
||||
<script type="text/ecmascript" src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('#pretty').DataTable({
|
||||
order: [[0, 'asc']],
|
||||
"lengthChange": false,
|
||||
"paging": false,
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user