mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Allow reordering of the parts table columns.
This commit is contained in:
parent
b88c10e543
commit
a48b8290b3
4 changed files with 20 additions and 0 deletions
|
@ -510,6 +510,7 @@ class AjaxUI {
|
|||
//@ts-ignore
|
||||
var promise = $('#part_list').initDataTables(settings,
|
||||
{
|
||||
colReorder: 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