Working with VDL Tables
A <vdl-table> element inspects the properties of each array entity, discovering their index sets. If - and only if - all of the index sets match (same type, same length), then a table is generated. However, you can filter individual index sets per entry if you need to include arrays that contain additional indices. It should contain one <vdl-table-column> element for each column you wish the table to include.
<vdl version="4.1">
<vdl-page>
<vdl-section heading="Welcome to Portfolio Optimization"
heading-level="1">
<vdl-section heading="Recommended share allocations"
heading-level="3">
<vdl-table page-mode="paged"
page-size="5"
show-filter="true"
column-filter="true">
<vdl-table-column entity="frac"></vdl-table-column>
<vdl-table-column entity="RET"></vdl-table-column>
</vdl-table>
</vdl-section>
</vdl-section>
</vdl-page>
</vdl>

Rendering a two-column Table
A row has been created for each element of the SHARES index set, which indexes both frac and RET.
You can change the column titles by specifying a custom title as the text content of the vdl-table-column nodes. Otherwise, the columns take their titles from model aliases or, if there are none, the model entity names. To customize any autogenerated index columns, you must provide a set attribute corresponding to the name of the index column to customize - again, the custom title is actually provided as the text content of the vdl-table-column node.
Note that the table contains two entities - as long as you ensure that the index sets of all entities are the same you can add as many as you wish.
Other elements of this code snippet are explained in later sections.
© 2001-2019 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.