fix table width when sortable is active
This commit is contained in:
parent
bfefdb8470
commit
1cb04adb95
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,7 @@ class App.ControllerTable extends App.Controller
|
|||
|
||||
checkBoxColWidth: 40
|
||||
radioColWidth: 22
|
||||
sortableColWidth: 36
|
||||
|
||||
elements:
|
||||
'.js-tableHead': 'tableHead'
|
||||
|
@ -443,6 +444,9 @@ class App.ControllerTable extends App.Controller
|
|||
if @radio
|
||||
widths += @radioColWidth
|
||||
|
||||
if @dndCallback
|
||||
widths += @sortableColWidth
|
||||
|
||||
return widths
|
||||
|
||||
readjustHeaderWidths: =>
|
||||
|
|
Loading…
Reference in a new issue