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

0
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
asked
1 answers
0

Hi Mohsin, 

 

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

 

https://marketplace.mendix.com/link/component/211553 - Module

 

https://docs.mendix.com/appstore/modules/document-generation/ - 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.

 

image.png

 

 

answered