App Builder \ PfJs Helper Class
Load More | PfJs.loadMore(maxClicks)

App Builder & Automation Expert
Stay Updated with ProcFu!
Subscribe to our newsletter for the latest tips, updates, and automation insights.
Subscribe NowPfJs.loadMore(maxClicks)
This function is designed to automate the process of loading additional items in table, calendar, map, or card views by simulating clicks on the "more" link. This function is especially useful to show more than the default 15 items in screens.
Arguments
- maxClicks: The maximum number of times the "more" link will be automatically clicked.
Usage
The function PfJs.loadMore is called with a single argument, maxClicks, which defines how many times additional content is loaded. Each "click" loads the same number of items initially displayed when the screen first loads.
Example: Load an additional set of items
If a summary screen initially displays 15 items, calling PfJs.loadMore(1)
will automatically load the next 15 items, resulting in a total of 30 items displayed.