Nested Repeating of Arrays – Example

In this example we will explore how we can work with nested repeating.

  • Open 11_NestedRepeat.wfd and proof the solution on any device.

  • We can see that the DC content is repeated for both records from the Accounts array.

  • Check the Layout Tree and the component structure.

  • The main ParentLayoutStacked component repeats its ChildLayoutStacked component by the root Accounts array.

  • The ChildLayoutStacked repeats Text input 1 component by the Months subarray.

  • Check the Subcomponents tab and how the child component uses the item defined in the parent component to repeat its content.