roll back mobile view

This commit is contained in:
Joshua
2022-07-21 10:51:40 +10:00
parent aeebbd08f2
commit 6a5b42949f

View File

@@ -247,12 +247,13 @@ function initializeDatatable () {
'columnDefs' : [
// 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] },
}
// if ($(window).width() < 400) {
// {visible: false, targets: [10,11,12,1,2,3,4,5,6,8] },
// }
// else {
// {visible: false, targets: [10, 11, 12] },
// }
{visible: false, targets: [10, 11, 12] },
{className: 'text-center', targets: [3, 8, 9] },
{width: '80px', targets: [5, 6] },
{width: '0px', targets: 9 },