Skip to main content
1-Visitor
Question

Modify the cell value in Grid

I need to modify the grid cell data based on its original value.

 

Scenario: I have a grid with column name "Status", Actual status columns values will be "true/false". But, instead of true I need to show the Active and instead of false, I need to show the In-Active. Please help me on the same.

 

 

Regards,

Noor

2 replies

22-Sapphire I

You can wrap the service that is retrieving this information and then use DeriveFields to create two new columns

or even in the acquiring query potentially you can do that transform (if it is an sql query you can use a case statement in that).

You could even use localization tokens.

Translate
snoor1-VisitorAuthor
1-Visitor

Hi  @PaiChung, 

 

I got your point. but still, I am looking for the above scenario, wherein angular we can define the cell value based on the grid value comparison in the grid definition only.

 

Thanks,

Noor

Translate