angular-ui/ui-grid

Sorting a dropdown column with a filter does not work

已关闭

#5,173 创建于 2016年2月26日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (2,496 个派生)batch import
help wanted

仓库指标

星标
 (5,395 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南