Initializing help system before first use

To Repeat a Table Column for each Scenario

Using a vdl-repeat component, you can create a multi-scenario table that shows a table column per scenario.

  1. In the Palette > Components group, click and drag a Table element onto a container on the artboard. Proceed through each page of the Table wizard before clicking Finish.
  2. Drag the Repeat element onto the Table Column on the artboard and enter the following in the Repeat field:
    =s,i in scenarios
  3. Select the Table Column on the artboard. In the Attributes pane, set:
    • Heading to "=s.props.name"
    • Scenario to "=i"
    • Data > Entity to "MY_ARRAY"
<vdl-table>
    <vdl-table-column vdl-repeat="=s,i in scenarios" scenario="=i" entity="MY_ARRAY"
                    heading="=s.props.name"></vdl-table-column>
</vdl-table>