<ev:perpage>

Builds a complete select and a containing form, which maintains the current page query parameters as hidden input fields. The form will auto submit if the select box changes.

<ev:perpage> requires the controller/view to have a data grid or pager object. If the smallest number of items per page does not require pagination this object has no output.

Example

<ev:perpage object="products" options="10,25,50,100,0" />

Attributes
object

Any string which references a data grid or pager object in the controller/view.

options

A comma separated string of integers representing the number of items to be shown per page (0 means View All). The default number of items per page defined within your theme settings file, but if it's not present a default value of 25 will be applied.

Note: Your options list should include the perpage setting within your templates.json file.



COVID-19 NOTICE – Business as Usual
Evance continues to provide all services and support throughout this difficult period. See our full statement here .