I have very puzzling issue. The expanding table with repeating rows do not break properly on the second page. On the first page, it breaks properly.
I noticed that if the row will exceed the allowed height, then there is truncation, and not only the current row is truncated, also, the next row becomes hidden. If I search for the text that is supposed to show, it is found, but not visible on the screen. It seems it is hidden by the boundaries of the page, not the content area.
I know how to use expanding tables, and how to control it. I used this feature many times. But, this case, I am not sure what is going on. It was developed by someone else, and the table is nested with multiple tables. I tried to play around with it, but no luck.
See image below for details.
I tried to use conditional breaks based on this logic:
"If the height of the row "row_mediumRiskRules2Cols" plus the "y" coordinate exceeds the height of the content area, then make a page break."
I noticed that the element coordinates are always "-1" at this time (conditional break script), so this method will not work.
I was able to get readings on the layout ready event, and I got the following:
xfa.layout.h(tbl_riskRules, 'in') = 9.135708333333334
xfa.layout.y(row_mediumRiskRules2Cols, 'in') = 0.2
xfa.layout.h(row_mediumRiskRules2Cols, 'in') = 12.085708333333333
I am not sure how to make use of this. Also, why the height of the main table "tbl_riskRules" is less than the height of the row "row_mediumRiskRules2Cols"?
Mind you that the repeating row (in the binding tab) is "tbl_riskRules.row_mediumRiskRules2Cols.tbl_mediumRiskRules2Cols.row".
How I can troubleshoot and fix this issue?
Tarek
