Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
The Javascript Condition Formatter allows you to transform column data based on user-defined conditions. |
...
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This is a new feature in Joget Workflow v6. |
Figure 1: Javascript Condition Formatter Properties
Name | Description |
---|---|
Conditions | In short, when this rule is true, execute this formatting. Every row in the datalist will be processed with these conditions respective to its current record id. Use the {fieldName} prefix to retrieve column value, eg: {userTelNumber}. It is also possible to inject hash variables here. Refer to example below. |
...
borderColor | #72a8ff |
---|---|
borderWidth | 1 |
titleBGColor | #cedfff |
title | Example |
...
Usage example: Example result:
When there is a conflict/multiple match between conditions, the first matched condition will take precedence. Result: |