Repeating group dynamic height

The data for my document is xml. I have a group that iterates for as many nodes of a certain name are in my document. Each of those nodes contains a number of other nodes, the values of which I put in text boxes arranged horizontally, with word wrap on and dynamic height set. Basically I’m creating a table output like any report designer such as Crystal Reports. My only problem is that when the text boxes expand because of wrapping, the next line isn’t pushed further down. Is there a way to force the group not to overlap when a text box contained within the group expands vertically?

UPDATE:

Reading through the comments I found references to tables which I couldn’t find in Designer. It looks like I’ve asked my question in a forum for PlanetPress Connect Designer, which looks like a much better tool than I’m using. Am I on my own here?

UPDATE 2:

It would appear the trick is in using snapping points with a vertical offset based on the height of the previous row.

By looking at your description, snapping points should work in this case. Do you still have any issue with the above mentioned? If yes, please provide us more information, e.g. screenshots, so we can open a support ticket for this. Hope this helps! Thank you!

I guess I’ll answer this myself. The snapping points don’t seem to apply to one line of a repeating group snapping to the previous line. I resorted to setting the vertical displacement in the repeat section to a global variable &DetailVerticalOffset.

For the group, I put this code in PressTalk Before:

&DetailVerticalOffset := 0

For each text box, I put this code in PressTalk Before:

if( gt(&current.y, &DetailVerticalOffset) )
&DetailVerticalOffset := &current.y
endif()

Seems like there should be a more elegant way to do this.