in datagrid 2, how to apply different colours to table data depending on the different attribute values

0
I want to apply three colours i.e. high, medium, low depending on the bigger, medium smaller values of attributes
asked
2 answers
1

The dynamic row class allows you to assign CSS classes to a row, by using an expression. 
If you want to apply the colors on a specific cell/column, you can use the dynamic cell class.
You can reuse existing CSSclasses like text-warning, text-danger and text-bold or define you own CSS class with a specific styliung.

https://docs.mendix.com/appstore/modules/data-grid-2/#52-dynamic-row-class

 

answered
0

Hi Vivek,

There is an option called Striped in the Appearance tab.
Allow yes and add styling to the table-striped class.

answered