DataTables for admin undiscovered neighbors report
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<table class="table table-bordered table-condensed table-striped nd_floatinghead">
|
||||
<table id="data-table" class="table table-striped table-bordered" width="100%" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Device Location Triggering<br>Last Discovery Attempt</th>
|
||||
@@ -24,3 +24,17 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#data-table').dataTable({
|
||||
"processing": true,
|
||||
"stateSave": true,
|
||||
"pageLength": 25,
|
||||
"language": {
|
||||
"search": 'Filter records: '
|
||||
},
|
||||
"order": [[ 2, 'desc' ], [ 1, 'asc' ] ],
|
||||
} );
|
||||
} );
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user