My answer is “3”
For native, Using a native pop-up menu is the best way to build a dropdown filtering mechanism for listviews
Explanation:
Creating buttons can be useful for one or two filtering options but not useful if we have more filtering options because in UX/UI perspective it takes more space and not so user-friendly.
Creating a Dropdown list is a way to do this but needs to create an Extra Enumeration created for “filtering options” and should write a list view data source logic by using decision activity for each sorting option. with this.
Native popup menu takes less space and fancy compared to explicit buttons or dropdowns.
so, using Native popup menu is better than the other two options
Hello,
I believe the answer to this question depend on the Data Source of the List view. If the list view is sourced by “Database” or “XPath” then the best option would be number 2. A Dropdown filter widget can be used and it is compatible with the list view with those 2 data sources. This is the cleanest option and can provide you with how ever many sortable options as you desire. If the List View is sourced via Microflow, Nanoflow, or Association, then my best answer would be number 3. You would be able to provide the user with the same number of options as the drop down filter and the pop up menu would provide a clean look to the user. But there would be more nanoflows going on in the back-end and it could get more complex as opposed to just using a simple drop down, that is why if you have the option using a drop down filter would be the most ideal solution.
Thank you,
Hello, Lars!
As you already provided the answer in the challenge question (“For native, what is the best way to build a dropdown filtering mechanism for listviews, by using the Native pop-up widget?”) – the answer is
Option 3. Using a pop-up menu, when one of the items is clicked it will trigger a nanoflow and filter the listview items.
Nevertheless this solution only works with Mendix 8.9.0 (or upcoming versions) – since the native pop-up menu is a new widget and not available in the previous Mendix versions.
I would like to quote Mehmet Izci – Software Engineer at Mendix - from the Mendix 8.9 Release Video May, since he already summarizes the benefits of the pop-up menu:
The native pop-up menu represents the way you and your colleagues are enhancing the Mendix platform very good.
It is fancy, it is exact and you can quickly build the the pop-up menu/dropdown filtering mechanism or you can just fully customize the widget as you want.
That is all I want, need and expect as a Mendix Rapid Application Developer.
“For native, what is the best way to build a dropdown filtering mechanism for listviews, by using the Native pop-up widget?”
“3. Using a pop-up menu, when one of the items is clicked it will trigger a nanoflow and filter the listview items”
3 is the only answer that uses the pop-up widget.
as for the question:
“what is the best way to filter on mobile?”
I recommend checking out this little blog :D
“Always keep in mind that there is always the possibility that the best approach is to have no filtering or sorting features at all.” https://medium.com/@thierrymeier/filtering-and-sorting-best-practices-on-mobile-61626449cec