Initializing help system before first use

# To Repeat all Table Columns for each Scenario

Using a `vdl-repeat-contents` component, you can create a multi-scenario table that repeats all the table columns per scenario on the shelf.
The table columns will be grouped by scenario.

1. In the Palette > Components group, drag a Table element onto a container on the artboard. Proceed through each page of the Table wizard then click FINISH.
2. Drag a Repeat Contents component onto the Table on the artboard and enter the following in the repeat expression field:

       =s,i in scenarios

3. Select each Table Column on the artboard. In the Attributes pane, set:
   - Heading to `=s.props.name`
   - Scenario to `=i`
   - Data > Entity to MY_ARRAY

Code editor

    <vdl-table vdl-repeat-contents="=s,i in scenarios">
        <vdl-table-column scenario="=i" entity="MY_ARRAY" heading="='my_array (' + s.props.name + ')'">
        </vdl-table-column>
        <vdl-table-column scenario="=i" entity="MY_ARRAY2" heading="='my_array2 (' + s.props.name + ')'">
        </vdl-table-column>
    </vdl-table>

Parent Topic The vdl-repeat-contents attribute

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.