Skip to main content
1-Visitor
Feb 5, 2019 10:26 AM UTC
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
Feb 5, 2019 4:04 PM UTC

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
Feb 6, 2019 3:44 AM UTC

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