Table with dynamic header and dynamic number of columns
Hello!
I would like to design a static form with a dynamic table.
The table gets the number of columns, the length of each column and the header text from the backend. On every page the table header should appear (as an overflow header).
What would be the best approach?
The things I tried:
- Create a table from scratch with subforms -> overflow header is not working, cannot set width on a new page, the header cells (in a flowed subform) just stay on top of each other.
- Create a normal table (from Object Library) -> cannot hide the columns that I do not need.
- Create 10 normal tables (from Object Library), because I can have only 1 - 10 columns, hiding the unwanted table by script depending on the input data -> data cannot flow twice to tables even if all other tables are inactive.
Thanks for any help, best regards, David.