Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Table of Contents |
---|
English |
---|
The Javascript Condition Formatter allows you to transform column data based on user-defined conditions. |
Figure 1: Javascript Condition Formatter Properties
Name | Description | Screens (Click to view)|
---|---|---|
Conditions | In shortsummary, when this the specified rule is true, execute this formatting. Every row in the configured datalist column will be processed with these conditions. Use the {fieldNamefieldId} prefix to retrieve column value, eg: {userTelNumber. {fieldId} is a Form field ID from the specified form in the current datalist, so for example: form field ID "name" should be written as {name}. It is also possible to inject use hash variables variable here. Usage example: Example result: When there is a conflict/multiple match between conditions, the first matched condition will take precedence. Result: |