Disable pagination for data tables

This commit is contained in:
Bernd Bestel 2018-07-08 13:50:52 +02:00
parent 0954b5a741
commit 02ea26b090
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
10 changed files with 10 additions and 10 deletions

View File

@ -35,7 +35,7 @@
});
$('#batteries-table').DataTable({
'pageLength': 50,
'bPaginate': false,
'order': [[1, 'asc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }

View File

@ -1,5 +1,5 @@
$('#batteries-overview-table').DataTable({
'pageLength': 50,
'bPaginate': false,
'order': [[2, 'desc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }

View File

@ -35,7 +35,7 @@
});
$('#habits-table').DataTable({
'pageLength': 50,
'bPaginate': false,
'order': [[1, 'asc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }

View File

@ -1,5 +1,5 @@
$('#habits-overview-table').DataTable({
'pageLength': 50,
'bPaginate': false,
'order': [[2, 'desc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }

View File

@ -35,7 +35,7 @@
});
$('#locations-table').DataTable({
'pageLength': 50,
'bPaginate': false,
'order': [[1, 'asc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }

View File

@ -35,7 +35,7 @@
});
$('#apikeys-table').DataTable({
'pageLength': 50,
'bPaginate': false,
'order': [[4, 'desc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }

View File

@ -35,7 +35,7 @@
});
$('#products-table').DataTable({
'pageLength': 50,
'bPaginate': false,
'order': [[1, 'asc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }

View File

@ -35,7 +35,7 @@
});
$('#quantityunits-table').DataTable({
'pageLength': 50,
'bPaginate': false,
'order': [[1, 'asc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }

View File

@ -27,7 +27,7 @@ $(document).on('click', '#add-products-below-min-stock-amount', function(e)
});
$('#shoppinglist-table').DataTable({
'pageLength': 50,
'bPaginate': false,
'order': [[1, 'asc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }

View File

@ -1,5 +1,5 @@
$('#stock-overview-table').DataTable({
'pageLength': 50,
'bPaginate': false,
'order': [[3, 'asc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }