Get Free Trial

Color coding cells dynamically

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.

1 answer

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:
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,

Please login or Register to Submit Answer