Configuring pagination page size to be set by function
When configuring pagination for a UI Section table, I have a requirement for the page size for the pagination be set to a changeable value from a configuration file (which can be read by using a function). Is there any way of configuring this page size to be obtained via a function or, failing that, a property or data transform?
Additionally, is it possible to use the 'Specify pagination activity' setting to achieve this requirement while still showing every result in the table? And, if so, any advice on how to do this would be appreciated.