N°3540 - Migrate printable version of an object

This commit is contained in:
acognet
2020-12-18 11:41:06 +01:00
parent c8dbf88c03
commit 3876fb9d62
30 changed files with 545 additions and 517 deletions

View File

@@ -137,7 +137,7 @@ var oTable{{ sListId }} = $('#{{ oUIBlock.GetId() }}').DataTable({
pages: 5 // number of pages to cache
}),
initComplete: function () {
if (this.api().page.info().pages === 1) {
if (this.api().page.info().pages < 2) {
this.parent().find('.dataTables_paginate').hide();
this.parent().find('.dataTables_length').hide();
}

View File

@@ -4,5 +4,6 @@ $('#{{ oUIBlock.GetId() }}').DataTable({
},
paging: false,
filter: false,
search: false
search: false,
dom: "t"
});