I’m creating a word report that is exported to PDF, the report is generated correctly, it does not present a problem, only when I try in a table divided into three columns to show different information from three different bands no information is shown. Is there any possibility to do it?
The problem is that in case of DOC(X) template table can be associated only with one band. You could try to add datasets to fisrt band instead of using another bands. Also if data should depend on each other you could try to use groovy dataset where you can implement dependency logic. If you want to add more bands or sub-bands to table you could use XLS(X) template.
Thanks @s.fedorov , I cann’t use an excel template since it’s a medical story. With groovy I can maybe do it but could you show me or guide me with an example?
I can recommend this page with general information about Groovy dataset.
You could prepare data for table like:
def result = []
def contacto
def ingesta
def inhalation
...
result.add(['contacto': contacto, 'ingesta': ingesta, 'inhalation': inhalation])
...
return result
Here we have variables contacto, ingesta and inhalation that store the values that we want to put in the cells. By each add operation we put data for one table row into the result list.