Allow reordering of the parts table columns.

This commit is contained in:
Jan Böhmer 2019-09-06 18:37:03 +02:00
parent b88c10e543
commit a48b8290b3
4 changed files with 20 additions and 0 deletions

View file

@ -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": [ {