angular-ui/ui-grid

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

Geschlossen

#5.467 geöffnet am 13.06.2016

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
good first issue

Repository-Metriken

Stars
 (5.395 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide