angular-ui/ui-grid

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

Open

#5467 aperta il 13 giu 2016

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
good first issue

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor