Expand my Community achievements bar.

2D Table/Matrix Page Break Issue

Avatar

Level 2

Experts

I have to develop a fairly complicated Adobe Form with a data connection.  In real life this will work with a connection from a web dynpro component, but I've built a basic proof of concept using an XML file.

Essentially I need to display a matrix which can grow both to the right and downwards depending on the data.  After reading the excellent article by Stefan Cameron (http://forms.stefcameron.com/2006/10/28/scripting-table-columns/) I've built two prototypes which work as long as the data fits on one page.  However, there is a real potential for the actual use data to flow over in both directions.

1) If the data flows of the bottom of the page it should carry on with all columns. 

2) If the data flows to the right it will need to carry on displaying on the next page, but repeat the first column

From reading the comments in the above article I suspect I may need javascript to get the second of these requirements going, but I'm still struggling with the first which I would have thought should be possible out of the box.

I've attempted two approaches, one using a table and one using sub forms. Unfortunately neither is working as I would hope.  I've tried many different permutations with the page break settings, but nothing seems to work.

I've uploaded some files to http://www.lasmit.co.uk/work/matrix.zip

There's two xdp's with the table/subform approaches and two XML files with small and larger datasets.  In real life the cells won't be so massive, but it' requires less data to prove the point.

If anyone has any advice it would be really appreciated as I'm really struggling.

Thanks

Lewis

0 Replies