Merge pull request #674 from okriuchykhin/ok_SCI_1346

Fix reordering columns to the first position [SCI-1346]
This commit is contained in:
okriuchykhin 2017-06-13 09:01:10 +02:00 committed by GitHub
commit d88de4009a

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,