Pagination Widget Workaround for List View Datasource = Microflow?

0
Hi – the pagination widget doesn’t work if the list view data source is microflow. Any workaround to this? Can I simulate what the pagination widget does by adding buttons on the listview? Not sure how … Any tips greatly appreciated! Did search and didn’t see any leads yet
asked
2 answers
1

You can check this widget https://appstore.home.mendix.com/link/app/113460/

It provides pagination buttons for listview with microflow data source

answered
0

You could use an input parameter with a paging setting (enum for instance) to your microflow and retrieve a limited amount of data in your microflow datasource 

The input parameter should be an attribute in a non persistable entity and be used in a dataview around the listview. Add a on change event to the dropdown connected to the enum containing the paging options, and refresh the entity surrounding the listview so it will refresh the listview datasource. 

If you need to retrieve the next dataset using a button, you should retrieve a subset with an offset using the amount configured.. GL

answered