DataTables for device generic report
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<table class="table table-bordered table-condensed table-striped nd_floatinghead">
|
<table id="rg-data-table" class="table table-bordered table-condensed table-striped" width="100%" cellspacing="0">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
[% FOREACH hdr IN headings %]
|
[% FOREACH hdr IN headings %]
|
||||||
@@ -16,3 +16,11 @@
|
|||||||
[% END %]
|
[% END %]
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('#rg-data-table').dataTable({
|
||||||
|
"pageLength": 25
|
||||||
|
} );
|
||||||
|
} );
|
||||||
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user