Use datatables-responsive.

This improves the experience with the tables on mobile view.
This commit is contained in:
Jan Böhmer 2020-01-04 22:09:37 +01:00
parent 3caac22a0e
commit 4e7c50a301
7 changed files with 39 additions and 13 deletions

View file

@ -5,7 +5,7 @@ datatables:
# Set options, as documented at https://datatables.net/reference/option/
options:
lengthMenu : [10, 25, 50, 100, 250, 500, 1000, 2500]
lengthMenu : [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]]
pageLength: 50
#dom: "<'row' <'col-sm-12' tr>><'row' <'col-sm-6'l><'col-sm-6 text-right'pif>>"
dom: " <'row'<'col mb-2 input-group' B l> <'col mb-2' <'pull-right' p>>>