DataTables for admin undiscovered neighbors report

This commit is contained in:
Eric A. Miller
2014-06-19 21:13:44 -04:00
parent 6389783174
commit ca89a57e0b

View File

@@ -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>