Skip to content

Commit

Permalink
Add stateSave to datatables
Browse files Browse the repository at this point in the history
  • Loading branch information
redref committed Jan 31, 2017
1 parent aadc2ad commit 63d6aad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions puppetboard/templates/_macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
var table = $('#{{ table_html_id }}').DataTable({
// Permit flow auto-readjust (responsive)
"autoWidth": false,
// Save order/filter informations to sessionStorage
"stateSave": true,
"stateDuration": -1,
// Activate "processing" message
"processing": true,
// Activate Ajax mode
Expand Down

0 comments on commit 63d6aad

Please sign in to comment.