In a page on EC MVC, SingleList, we have a "Load Next" button at the bottom of the list.
It is meant to be clicked to show more results if they exist. I would like it to be hidden if I have no more results and all are on the page.
What is the recommended way of setting this up?
We went to look at how the list builder does this, but it didnt have the options we expected to setup extra features on a list and when created, the "Load Next" button wasnt created.
"Load Next" List button logic
-
- Posts: 472
- Joined: November 16th, 2021, 11:15 am
- Contact:
-
- Posts: 329
- Joined: August 26th, 2021, 9:18 am
- Contact:
Re: "Load Next" List button logic
The list wizard will create a button for load next and have its visibility set to a node from the model
That value will get updated after the submethod runs.
it's value is determined by the start index, the page size, and the number of records. Return Total Count needs to be set to true for this to work properly.
word count: 77