How to Highlight Specific Rows in a Mendix Document Template PDF Based on Data from Entity 2?

In Mendix, I have created a document template that includes a data grid filled with entries from Entity 1. I am generating a PDF with this document template and the content from Entity 1. Now, I want to highlight certain rows in gray. The commonality among these rows is that they all originate from Entity 2. How can I achieve this?   Thank you!
0 answers