DataTables for manual device topology tab

This commit is contained in:
Eric A. Miller
2014-06-19 19:12:30 -04:00
parent 17db8fe190
commit 08deab41ab

View File

@@ -1,4 +1,4 @@
<table class="table table-bordered table-striped nd_floatinghead"> <table id="data-table" class="table table-striped table-bordered" width="100%" cellspacing="0">
<thead> <thead>
<tr> <tr>
<th class="nd_center-cell">Left Device</th> <th class="nd_center-cell">Left Device</th>
@@ -86,3 +86,21 @@
</tbody> </tbody>
</table> </table>
<script>
$(document).ready(function() {
$('#data-table').dataTable({
"processing": true,
"stateSave": true,
"pageLength": 25,
"language": {
"search": 'Filter records: '
},
"columnDefs": [ {
"targets": [ 4 ],
"orderable": false,
"searchable": false
} ]
} );
} );
</script>