Modified DOM of table

This commit is contained in:
DL6ER
2016-12-12 18:16:08 +01:00
parent f74a90f65f
commit 29ff6310f4
+6 -1
View File
@@ -60,6 +60,11 @@ $("#DHCPchk").click(function() {
$(document).ready(function() {
if(!!document.getElementById("DHCPLeasesTable"))
{
$('#DHCPLeasesTable').DataTable();
$('#DHCPLeasesTable').DataTable({
dom: "<'row'<'col-sm-12'i>>" +
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-5'f><'col-sm-7'p>>",
"pageLength": 5
});
}
} );