angular-ui/ui-grid
Auf GitHub ansehenSorting works inconsistently , when table column contains null/undefined/empty values
Open
#3.360 geöffnet am 24. Apr. 2015
good first issue
Repository-Metriken
- Stars
- (5.395 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
I observed that the handlenulls method present in all sort methods(exmaple : alphasort) is working inconsistently. It is unable to handle the empty values in present in the table while sorting. Note - I am using Sort Ascending and Sort Descending options and not the header options.
Scenario - When a column containing null values is sorted -
- Step 1 : Ascending order - null values are pushed at the bottom, values gets sorted correctly
- Step 2 : Descending order - nothing happens ,sorting does not work.