Fix reordering columns to the first position [SCI-1346]

This commit is contained in:
Oleksii Kriuchykhin 2017-06-12 17:16:49 +02:00
parent e26337d5ee
commit 248fd7be06

View file

@ -52,7 +52,7 @@ function dataTableInit() {
scrollY: '64vh',
scrollCollapse: true,
colReorder: {
fixedColumnsLeft: 2,
fixedColumnsLeft: $('#assigned').text().length === 0 ? 1 : 2,
realtime: false
},
destroy: true,