Mobile Table view & Merge wording from leiweibau

This commit is contained in:
Joshua
2022-07-21 09:28:37 +10:00
5 changed files with 14 additions and 4 deletions

View File

@@ -246,7 +246,13 @@ function initializeDatatable () {
// 'order' : [[3,'desc'], [0,'asc']],
'columnDefs' : [
{visible: false, targets: [10, 11, 12] },
// Only display all collums on non mobile device width - still in testing phase
if ($(window).width() < 400) {
{visible: false, targets: [10,11,12,1,2,3,4,5,6,8] },
}
else {
{visible: false, targets: [10, 11, 12] },
}
{className: 'text-center', targets: [3, 8, 9] },
{width: '80px', targets: [5, 6] },
{width: '0px', targets: 9 },