Nested Repeat Region

If you want to add the nested repeat region functionality for already created elements, without using the Nested Repeat Region Wizard, you can use the server behavior instead. Before using the Nested Repeat Region server behavior, create a simple recordset for the master table and create a more complex recordset for the detail table (a filter must be applied on the foreign key column, ensuring that it is equal to the entered value). Also, make a selection in page.

The Nested Repeat Region is accessible from the Application panel, Server Behaviors -> + -> MX Kollection -> Dynamic Lists -> Advanced -> Nested Repeat Region.

The server behavior has one tab. Instructions about its correct configuration are given below.

 

  1. In the Master recordset drop-down menu select the previously created recordset with the main data. The first recordset is selected by default.
  2. In the Primary key drop-down menu specify the primary key column for the master table. The content of this drop-down menu is refreshed each time the user selects another master table. By default, the first element is selected.
  3. In the Detail Recordset drop-down menu select the recordset created earlier that contains the data related to the master table.
  4. The three buttons in the top right corner of the interface offer you the next functionalities:
    · Click OK when you are done configuring the server behavior.
    · Click Cancel to exit without applying the new settings.
    · The Help button opens this help page.