Add condition on data grid in document template for generate pdf to display value in different color based on condition

I have document template for generate pdf file i want to add condition on cell if the value inside it equal to yes the make it red else leave it as it is but i cant write any condition in custom style of the cell is there any way to help with that
1 answers

Hi Mohsin, 


Have you take a look at the new document generation module: - Module - Documentation


It is one of the latest features of Mendix and gives you more control over the PDF. 

You can easily use css and conditional css classes.

It practically work almost the same as creating a webpage.