vdlx-datagrid provides a tabular visualisation, similar to vdl-table, but allows for much larger datasets to be displayed while trading off a few features in vdl-table.
An easily implemented third-party alternative for the vdl-table component in a FICO Xpress Insight VDL view.
For a list of available tags and attributes for the vdlx-datagrid component see vdlx-datagrid-reference
Download the appropriate release version of vdx-datagrid from releases -
The first two digits of the vdlx-datagrid release version number must match the version of VDL you are using to develop. For example, if you are developing for VDL 4.6.X, download vdlx-datagrid version 4.6.X.
Unzip the vdlx-datagrid.zip release bundle into your Xpress Workbench client_resources folder. You can then add vdlx-datagrid in your views via the code editor-vdlx-datagrid is not available in the VDL Designer palette:
<vdl-include src="vdlx-datagrid/vdlx-datagrid.vdl"></vdl-include>vdlx-datagrid is mostly a drop-in replacement for vdl-table and can generally be used by renaming code examples:
<vdlx-datagrid id="basic-example-1">
<vdlx-datagrid-column set="SupportLevels">Support L.</vdlx-datagrid-column>
<vdlx-datagrid-column entity="SupportCosts"></vdlx-datagrid-column>
<vdlx-datagrid-column entity="ServiceLevelAgreements"></vdlx-datagrid-column>
</vdlx-datagrid>Each release includes an Xpress Insight app containing examples of how to use vdlx-datagrid features.
- Download
vdlx-datagrid-examples-app.zipfrom one of the releases. - Upload the App zip to Xpress Insight
See CHANGELOG for a list of changes in each version.
Note: There are some features shared between vdl-table and vdlx-datagrid that are implemented differently. Always test any code ported between the two.
- Block and column selection
- Copy and Paste data
- Global search
- Support for larger datasets
- Scrollable table support
This information is only required if you are developing the vdlx-datagrid extension. See the 'Usage' section above for more on using this tag in your views.
npm installnpm run build
Whilst developing vdlx-datagrid:
- Build the library with
npm run build. This will place the vdlx-datagrid vdl file and minified JS and CSS into the example app. - Start incremental build of the library with
npm run watch. This will build an unminified version of the JS and CSS and place into the example app. - Add local
<client-resources-local-path>path to the cfileinsight/application.xml, pointing to the absolute path forinsight/client_resources. - Build the example application:
npm run bundle:app. - Upload the app
target/vdlx-datagrid-examples-app.zipto your running Insight server.
See RELEASE for instructions.