Skip to main content
1-Visitor
February 5, 2019
Question

Modify the cell value in Grid

  • February 5, 2019
  • 1 reply
  • 963 views

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

1 reply

22-Sapphire I
February 5, 2019

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.

snoor1-VisitorAuthor
1-Visitor
February 6, 2019

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