web ui: save the state of the tables

the state will be saved for 1 hour
This commit is contained in:
Nicola Murino
2021-01-27 08:41:21 +01:00
parent c2bbd468c4
commit 02679d6df3
3 changed files with 6 additions and 0 deletions

View File

@@ -157,6 +157,8 @@
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
select: true,
stateSave: true,
stateDuration: 3600,
buttons: [],
"columnDefs": [
{

View File

@@ -187,6 +187,8 @@ function deleteAction() {
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
select: true,
stateSave: true,
stateDuration: 3600,
buttons: [],
"scrollX": false,
"order": [[0, 'asc']]

View File

@@ -239,6 +239,8 @@
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
select: true,
stateSave: true,
stateDuration: 3600,
buttons: [],
"columnDefs": [
{