cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

"State definitions" for values, not only styles

ZbigniewK
12-Amethyst

"State definitions" for values, not only styles

Have service where I receive infotable, and show it in grid.
One of column is STATUS, with integer values to present OK/NOK, maybe different in future.

Style for whole row is set acc. STATUS column, so if there is 2 (which means NOK), whole row is described in red.

Is there also a way (configurable via mashup, style definitions, etc.), to display NOK instead of 2, OK instead of 1, etc.? 

Or the only way is to change it inside service? 

3 REPLIES 3

State formatting applicable at cell level not row level. May be you can apply same state format (background red/green)  for all columns.

Try to follow the below articles,

Hello @ZbigniewK

 

It looks like you have a response from a community member. If it helped you solve your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

TonyZhang
15-Moonstone
(To:ZbigniewK)

Hi @ZbigniewK ,

 

As far as I'm concerned, state definitions can only change the style, not the value, if you want to change/replace the actual value to be displayed in grid, you will need to incorporate that logic in your data service and return processed data and populate it to grid.

 

Best,

Tony
Announcements


Top Tags