Color background of cell in document template based on attribute value

2
Hi there, I am using a datagrid within a document template. I would like to add a color to a cell based on the attribute value. I saw some related questions on this forum but couldn't find a definitive answer. Is this possible? Thanks for the help! Tim    
asked
2 answers
2

If the attirbute is an enumeration there is a widget for that: https://appstore.home.mendix.com/link/app/2641/First-Consulting/EnumClass

Regards,

Ronald

answered
2

I don't think you should use a data grid for this. If you use a template grid instead you can insert tables on which you can apply conditional visibility. You should insert some table cells, right-click the cel/row and select 'Edit condition for this row...' in order to accomplish this.

answered