Iterate over collection

32 views
Skip to first unread message

Mattia Rossetti

unread,
Nov 11, 2020, 10:30:32 AM11/11/20
to ReportBro
Can I iterate over collection keys to print, for example, N tables?

Example
data:
{
  table1:[
    {col1:val1,col2:val2}
  ],
  table2:[
    {col1:va3,col2:val3}
  ],
  tableN:[
    {col1:va3,col2:val3}
  ]
}

to obtain N dinamic tables?

Alex Hartmann

unread,
Nov 16, 2020, 7:44:53 AM11/16/20
to ReportBro
You need a section and inside this section you create a table. The problem is that at the moment nested parameters are not supported, i.e. you'd need a list parameter (for the section) and for each list entry another list parameter (for the table entries).

Nested parameters are planned for a future version but for now there is no easy workaround.

Alex
Reply all
Reply to author
Forward
0 new messages