Change the text color of grid data by a condition.
search cancel

Change the text color of grid data by a condition.

book

Article ID: 38950

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

I want to know the method to change the color of the text of grid data by a condition. Some example pseudocode? 

 

Environment

CA Plex 7.2.1 and higher

Resolution

You can use the Set State statement.

For example 

 

For State MyState, specify the Text Color

For Each Row Grid 

If Grid<grid-name> IS <State: grid-name.cond-name> 

Set State MyState, Grid<grid-name> color-code

Else 

Set State MyState, Grid<grid-name> color-code