Is there a report sample that number of table in Word output is dynamic

Hi ,

Is there a demo for create a report that can output table, and the number of table is dynamic, per row in datasource output a table in word.

If no demo fo this case,please give some suggestion.
Thanks.

Hello @lugreen,

Please tell us more about what you want to do. Do you want to dynamically construct a table in a “Word” template?

Regards,
Nikita

Hi Nikita,

Thanks.
Your are right. We need create table in ‘World’ template dynamically, For per data row from data source to create a table in ‘World’ template .

To dynamically create tables from a datasource, it’s best for you to use Groovy.

The documentation describes how you can create a groovy dataset: Groovy Dataset - CUBA Platform. Report Generator

Sample report: Report with dynamic table creation.zip (8.8 КБ)

Regards,
Nikita