Hello
I have a table inside a table. I need that the second table (in Red) expands together with the first cell of the blue table.
In blue the first table with 2 columns
In red the other table inside cell 2 of the first table
How can I do this?
Tkanks for your help.
Regards
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
you can use a script to "synchronize" the heights of the inner and outer table.
Aussumed you have the following hierarchy.
Put this script into the layout:ready event of the row "NestedRow" of the nested table.
var cUnit = "mm",
nRefH = xfa.layout.h(Table.Row, cUnit),
nThisH = xfa.layout.h(this, cUnit);
NestedCell1.minH = nRefH > nThisH === true ? nRefH.toString().concat(cUnit) : "5mm"; // replace 5mm with a minimum height of your choice.
xfa.layout.relayout();
The script will compare the height of the row that contains nested table with the row of the nested table itself and will change the minimum height of the first cell of the nested table. All other cells of it will then automatically use the same height.
Views
Replies
Total Likes
Hi,
you can use a script to "synchronize" the heights of the inner and outer table.
Aussumed you have the following hierarchy.
Put this script into the layout:ready event of the row "NestedRow" of the nested table.
var cUnit = "mm",
nRefH = xfa.layout.h(Table.Row, cUnit),
nThisH = xfa.layout.h(this, cUnit);
NestedCell1.minH = nRefH > nThisH === true ? nRefH.toString().concat(cUnit) : "5mm"; // replace 5mm with a minimum height of your choice.
xfa.layout.relayout();
The script will compare the height of the row that contains nested table with the row of the nested table itself and will change the minimum height of the first cell of the nested table. All other cells of it will then automatically use the same height.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies