- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
This works great! However, I do see that all of the secondary tables have to be added before I add a new witness. Is there anywhere that I can move the code so that a new row is automatically added to any new secondary tables that the user adds?
Also, I am trying to put together the code to remove the rows but it does not seem to be working. This is what I've done which I think is what you were trying to tell me to do.
var delNum = this.parent.parent.index;
//form1.Main.Clients.AttorneyInfo.ClientTable.WitnessInfo.instanceManager.removeInstance(delNum);
for (var i = 0; i < Clients._AttorneyInfo.index; i++)
{
var client = xfa.resolveNode("form1.Main.Clients.AttorneyInfo[" + i + "]");
client.ClientTable.WitnessInfo.instanceManager.removeInstance(i);
}
this.parent.parent.instanceManager.removeInstance(delNum);
Again, Thank you sooo much for your time and your help it is greatly appreciated!
-Dom
Views
Replies
Total Likes