angular-ui/ui-grid

Sorting a dropdown column with a filter does not work

Open

#5.173 geöffnet am 26. Feb. 2016

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
help wanted

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Related to issue #2808, when using a drop-down with a filter to show the editDropdownValueLabel instead of the editDropdownIdLabel, and we have sortCellFiltered: true set, ui-grid incorrectly passes a row entity to the filter instead of the context. This prevents us from getting information about the column definition, in order to sort by filtered values.

Please see Codepen demonstrating the issue here, and a partial workaround here.

Contributor Guide