angular-ui/ui-grid

Column moving doesn't work well when setting width in columnDefs

已關閉

#5,467 建立於 2016年6月13日

 (1 則留言) (0 個反應) (0 位負責人)JavaScript (2,496 個分叉)batch import
good first issue

倉庫指標

星標
 (5,395 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Hi, When enabling column move and setting width (even for one column) to column in columnDefs setting (or using column resize) the movement does't work well.

Scenario:

  • 3 column
  • 1 and 3 don't have width setting
  • 2 has been set with any value in width section.
  • Try to switch between 1 and 2.

Result: if you don't drug 1 over 50%-70% of 2 width the columns wont be changed.

貢獻者指南