Initializing help system before first use

# To Repeat Rows or Columns for each Scenario

Repeat the rows in a section or columns in a row for each scenario on the shelf and show the scenario name as a heading.

1. Drag a Repeat Contents element onto a Section or Row on the artboard, and enter the following in the repeat expression field.

       =s, i in scenarios

2. Additionally, to display a text attribute, click and drag a Text element from the Palette > Components group onto a Column.
3. Select the Text element on the artboard, and in the Attributes pane, edit the Text Attribute to display a scenario attribute, such as the following:

       =s.props.name

Row per scenario

    <vdl-section vdl-repeat-contents="=s,i in scenarios">
        <vdl-row>
            <vdl-column-heading="s.props.name"></vdl-column>
        </vdl-row>
    </vdl-section>

Column per scenario

    <vdl-section>
       <vdl-row vdl-repeat-contents="=s,i in scenarios">
           <vdl-column heading="s.props.name"></vdl-column>
       </vdl-row>
    </vdl-section>

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.