To Repeat all Table Columns for each Scenario
vdl-repeat-contents
component, you can create a multi-scenario table that repeats all the table columns per scenario on the shelf.
- In the artboard. Proceed through each page of the Table wizard then click FINISH. group, drag a Table element onto a container on the
- Drag a Repeat Contents component onto the Table on the artboard and enter the following in the repeat expression field:
=s,i in scenarios
- 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
- Heading to
<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>
© 2001-2025 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.