Dynamic tables with data driven visibility of columns (XML).





I am trying to make a template in LiveCycle Designer (XDP) with a dynamic table, and with dynamic visibility of columns.

I want the column visibility to be driven by the xml input.

(There is no user input.)

I want the columns to visible in the table only if one or more of the rows has a data cell with value in a spesific column. If not the entire column should dissappear from the generated pdf.

If that is not possible, my alternative is so set a value in th XML file to hide a tables column. But how?

I have no problems of making dynamic tables, that is solved.

I only want to hide unused columns in a table, defined in the xml source file.

Can anyone help?