- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
To loop though the second table adding rows to the sub-table use some code like;
for (var i = 0; i < Clients._AttorneyInfo.count; i++)
{
var client = xfa.resolveNode("form1.Main.Clients.AttorneyInfo[" + i + "]");
client.ClientTable.WitnessInfo.instanceManager.addInstance();
}
I've updated your sample to check the above code
The delete button would be similar but you would use the _AttorneyInfo.index as a parameter to the removeInstance() method
Regards
Bruce