Change List Size OnClick

0
Hello! I need to change the Page Size of a list View, currently the page size is 10, I would like to, when clicking on a button, show the rest of the list, without hiding the other data, I've already tried with pagination and template grid, but it doesn't suit my needs. goal. Thank you very much in advance
asked
1 answers
1

What you could do (workaround), is:

Create two listviews, one which is showing 10 records and another one showing all (enter a very high number in page size)

Create a non persistable entity with a boolean attribute ShowAll yes/no (default no).

On the page, use the non persitable object (eg use datasource microflow to create) and add a switch or button to toggle the ShowAll attribute.

Use conditional visibility for the listsviews based on the ShowAll value

 

Hope this works for you

answered