Color coding cells dynamically

Answered
Rama asked on September 20, 2021

Hi Team,
I am trying to color code the cell by calculating data and added new property to data which contains values of 0, 1,2. I am using values in "customizeCellFunction" method to highlight cell in RED(1), YELLOW(2). But flexmonster creating new category for this newly added property. I would like NOT to part of any calculations and don't show in category or row.
I am finding a way to hide category.
We are using AngularJS 1.8 version.
 
Thanks.

1 answer

Public
Vera Didenko Vera Didenko Flexmonster September 21, 2021

Hello, Rama,
 
Thank you for reaching out to us.
 
A possible solution is to use the "property" type for the field. This approach is used in our demo to add flag icons to the countries. Here is a JSFiddle for reference: https://jsfiddle.net/flexmonster/z97fkc0q/.
Notice that the "CurrencyID" field is not present in the Field List but is available in customizeCell
The "property" type is assigned to the "CurrencyID" field in the mapping object.
 
Please let us know if such an approach would work for your case.
Looking forward to your response.
 
Kind regards,
Vera

Please login or Register to Submit Answer