hub.eb?material_id=344&track_id=264

Repeater Controls


A Repeater Control allows you to represent tabular data in a flexible way. For example, a list of users could be shown as a series of interactive user cards using a Repeater Control, instead of the traditional table view a    Table Control provides. Both Controls are backed by the same Table, but the Repeater Controls gives greater scope to present that data in a fresh way.

A Repeater Control is created by dragging it from the Palette onto a Page's Outline or WYSIWYG View and linking it with a Table.

In the Studio, a Repeater Control has a single Repeater Row Control that represents a row in the backing Table. Any combination Controls can be added to this Control to by dragging them from the Palette. Field and Table Column Controls can also be added by dragging existing Fields and Table Columns from their repective Views. 

In the browser, an instance of the Repeater Row Control is created to represent each row in the backing Table. Controls such as the Table Column Control get their data from the row represented by its owning Repeater Row Control. The backing Table's Current Row is automatically set to the row represented by its owning Repeater Control when one of Controls triggers an event.

Repeater Controls have a number of features that can be configured, including:

  • Number of visible rows limits the number of rows shown to the end-user. A navigation bar is shown when there are more rows in the data than the number of visible rows.
  • Filter Expression a conditional statement that limits the displayed table rows based on some criteria.

Current Module

Related