Displaying Grid rows with different Color based on attribute

0
Hello team, I want a overview screen and wish to display data in different row based on a attribute. If Attribute is High – Grid data row in Red Medium – Amber color Low – Green color   Please advise. 
asked
2 answers
0

Hi Abishek,

Please use this widget and map  Attribute rule as per your requirement.
https://marketplace.mendix.com/link/component/106254

Hope this is useful for you.

Thanks,

Ragul.

answered
0

Hey there,

As Ragul mentioned, the widget is a good starting example. By applying the widget below a grid and setting the data it becomes possible to activate a certain class. These classes can be your preferred results.

This means that you will have 3 nanoflows to operate the 3 different classes:

  • DSS_Activate_High
    • this will activate a class f.e. row-high
      • background color set to red
  • DSS_Activate_Medium
    • this will activate a class f.e. row-medium
      • background color set to amber
  • DSS_Activate_Low
    • this will activate a class f.e. row-low
      • background color set to green

 

Below are pictures from the widget and some settings I used. Any questions, do ask!

answered