How to sort values in column , by click on the head of the column

0
I need to sort my values just by click on the head , and for one click it’s give me sorted values by ascending order , and for the second click by descending order …. if anyone know how I can do that please answer ! thank you .
asked
3 answers
0

This works by default if you have your Data Source set to Database or XPath. If you use a Microflow or Association as the data source, it will disable the sort feature.

 

answered
0

thank you , how i can retrieve the result of my microflow ( this microflow work on two way for both of them return a different list ) with a data source entity or a xpath ?

answered
0

If you are working with a listview, you can use the listview controls from the appstore.

https://appstore.home.mendix.com/link/app/105694/

It’s a bundle of widgets for listviews. And it contains a header sort widget which fits your usecase.

Keep in mind that this does not work if you fill your listview by use of datasource microflow though.

answered