Last Page pagination button for datagrid (microflow datasource)

0
I have a data grid that retrieves a list of objects by a microflow. As a result, default pagination is replaced with a PaginBar snippet, where by default I have 3 buttons (first page, next page, previous page) instead of 4. How can I implement the 4th button, that would scroll to the last page?
asked
1 answers
0

I think the easiest way is to use a sortorder with an Xpath retrieve. Then if you want to get the last objects you can just change the sort order from ascending to descending for example. 

To keep the sorting logical for the end user, you might have to sort the end result back to the original sorting.

answered