Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

...

borderColorgreen
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition

The Javascript Condition Formatter allows you to transform column data based on user-defined conditions

...

borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titleNew Feature

...

.

Image Removed

...

Javascript Condition Formatter Properties

NameDescriptionScreens (Click to view)
Conditions

In short, when this rule is true, execute this formatting.

Every row in the configured datalist column 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.

Usage example:

Image Modified

Example result:

Image Modified

 


When there is a conflict/multiple match between conditions, the first matched condition will take precedence.

Image Modified

Result:

Image Modified

 

 

...

Image Added

Figure 1: Javascript Condition Formatter Properties