Repeaters are similar to a foreach loop.
Allows iteration over a set of data, rendering HTML.
Defines the template for each repetition of the repeater. Access the datasource content through the variable named in the as attribute to render the content in the datasource.
The name of the variable to be registered for each row. For example, as="myvar" will let you reference $myvar inside the control.
The CSS class for rows (<tr> tags).
An array of fields to group by, if datasource is a function that supports a Query Array.
Array of tables to join with, if datasource is a function that supports a Query Array.
The maximum number of results to return, if datasource is a function that supports a Query Array.
Sets the order by which the data is sorted
The parameter is a two-dimensional array consisting of column names and the direction of the order.
For example, the following would sort contacts by their last name ascending and in the event of two contacts having the same last name, their first name descending
[['contact_last_name', 'asc'], ['contact_first_name', 'desc']]
Filter results if they match this string, if datasource is a function that supports a Query Array.
Sets whether the DataSource supports the order parameter.
When set to true, an order parameter will be appended to the data. The order parameter is an array containing values similar to: [['contact_id', 'desc'], ...].
Sets whether the DataSource supports the paging parameters.
When set to true, two parameters will be appended to the call to the DataSource which represent the start and limit values of pagination.
The number of results to skip, if datasource is a function that supports a Query Array.
The message shown when there are no rows in the data control.
If true, an 'Export Data' link will appear beneath the control which will save a CSV file to the client of all the data in the control. Default = false.
Sets the height of the element. The default units are pixels. include the percentage symbol % to user percentage values.
Give this control a unique id. Can be accessed in the client DOM (eg, document.getElementById('myid') or in the server DOM using [? $myid ?] or [? $('myid') ?]).
The name of the variable to be registered for each row's key.
For arrays of entities from the database (for example getAll()), the keys will be incrementing integers starting at 0.
Whether to enable paging for this control. With paging enabled, the initial number of results will be limited to the value of pagingrows, and a 'Show More' button will appear.
Each click of the button will append pagingrows more rows. Default = false.
Use in conjunction with paging, to control the initial number of rows to be shown, and the number of rows loaded when 'Show More' is clicked. Default = 25.
Sets when to populate from the datasource. Not required for most tasks, but can resolve timing issues on very complicated pages.
Default = 'init'. Other possible values: 'render'.
Sets the width of the element. The default units are pixels. include the percentage symbol % to user percentage values.
Called after the data control has populated from the datasource / component