Expand my Community achievements bar.

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

Avatar

Former Community Member
Hi



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?



Borge
2 Replies

Avatar

Level 10
There's a document on the Adobe site which covers how to script adding and subtracting columns - I haven't tried it though.



http://download.macromedia.com/pub/developer/livecycle/scripting_table_columns.zip

Avatar

Level 2

Hi,

The link is not working..

Please provide a valid link.