Articles on: Q&A

How to set up alternate rows in the Container/Table component?

To set up Alternate rows for a Container component, you need to enable the Conditional formatting with the option "Change component style if matches the condition".

Right click on the Container component and navigate to the Conditional formatting
Select the Expression as a condition, where the expression looks like this -> {row_index} % 2 == 0

Conditional Formatting

This is how it looks in the final PDF:
Alternate rows

It is also possible to use the same approach for alternative rows in a Table, but keep in mind that you need to add the same condition to all columns separately, when using the Table component

Updated on: 05/03/2023

Was this article helpful?

Share your feedback


Thank you!