The method to change the text color of grid data by a condition.

Document ID : KB000038950
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

I want to know the method to change the color of the text of grid data by a condition.
Is there the method? 

 

Answer:

Please use the Set State statement. 

Ex) 

For State MyState, you specify the Text Color. 

For Each Row Grid 

If Grid<Balance> IS <State: Balance.*Positive or zero> 

Set State Default, Grid<Balance> 

Else 

Set State MyState, Grid<Balance>