Added some additional columns to part list.

They are hidden by default but can be shown by a colvis button.
This commit is contained in:
Jan Böhmer 2019-09-06 18:25:24 +02:00
parent 16139d1afd
commit 720e1cd04e
10 changed files with 310 additions and 70 deletions

View file

@ -511,7 +511,12 @@ class AjaxUI {
var promise = $('#part_list').initDataTables(settings,
{
"fixedHeader": { header: $(window).width() >= 768, //Only enable fixedHeaders on devices with big screen. Fixes scrolling issues on smartphones.
headerOffset: $("#navbar").height()}
headerOffset: $("#navbar").height()},
"buttons": [ {
"extend": 'colvis',
'className': 'mr-2 btn-light',
"text": "<i class='fa fa-cog'></i>"
}]
});
//Register links.