DataTables for pseudo devices tab

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

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>
<tr>
<th class="nd_center-cell">Device Name</th>
@@ -60,3 +60,21 @@
</tbody>
</table>
<script>
$(document).ready(function() {
$('#data-table').dataTable({
"processing": true,
"stateSave": true,
"pageLength": 25,
"language": {
"search": 'Filter records: '
},
"columnDefs": [ {
"targets": [ 2, 3 ],
"orderable": false,
"searchable": false
} ]
} );
} );
</script>