Modifying Table Configurations
http://www.datatables.net
.
Options specific to the DataTables
functionality can be added to a table through the code editor using a table modifier. Set the modifier
attribute to an expression that references a function. The function is called before the table is drawn and prior to each table update. It is passed a configuration object and returns a modified version of that object.
The configuration object contains a property called overrides
that can be used to add any of the DataTables configuration options.
DataTables
scrollY
option, making it scrollable.
![]() |
Note: The
DataTables scroller extension is only compatible with Chrome and Firefox when used with Xpress Insight tables. Scrollable tables should only be used within fixed sized containers, such as a
vdl-column with a
Size attribute specified. Otherwise you may experience some unexpected behavior when the table is rendered in some situations.
|
<vdl version="5.6">
<vdl-page>
<script>
function scrollableTable(config) {
config.overrides.scrollY = 200;
return config;
}
</script>
<vdl-section heading="Modifying Table Configurations">
<vdl-row>
<vdl-column>
<vdl-table modifier="=scrollableTable">
<vdl-table-column entity="Shares_Return" heading="Return per share" size="6"
render="=function(data,type,row){return data + ' units';}"></vdl-table-column>
</vdl-table>
</vdl-column>
</vdl-row>
</vdl-section>
</vdl-page>
</vdl>

modifier
© 2001-2024 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.