cancel
Showing results for 
Search instead for 
Did you mean: 

Custom sorting in list is not working - SAP UI5

n_varun
Discoverer
0 Kudos

I have tried to implement custom sorting and grouping on a list items, however no call is being made to the custom comparator function.
used sap.ui.model.sorter for the same.
find below code snippets for implementation, there is no call made to "customComparator" function.

already referred to the following blog:referred blog for custom sorting implementation

any help would be highly appreciated

Accepted Solutions (1)

Accepted Solutions (1)

radoslaw_kiela2
Participant
0 Kudos

The custom comparator is gonna work with client models, wiith sorting on the client. From what you are describing this is OData server binding, not supporting custom comparators.

Regards,

Rado

Answers (0)