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.

贡献者指南