mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Use datatables-responsive.
This improves the experience with the tables on mobile view.
This commit is contained in:
parent
3caac22a0e
commit
4e7c50a301
7 changed files with 39 additions and 13 deletions
|
@ -518,6 +518,7 @@ class AjaxUI {
|
|||
var promise = $('#part_list').initDataTables(settings,
|
||||
{
|
||||
colReorder: true,
|
||||
responsive: true,
|
||||
"fixedHeader": { header: $(window).width() >= 768, //Only enable fixedHeaders on devices with big screen. Fixes scrolling issues on smartphones.
|
||||
headerOffset: $("#navbar").height()},
|
||||
"buttons": [ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue