


Here I have a little problem with my table...
When I'm trying to add a new row using this.resolveNode("Table.Row1").instanceManager.addInstance(1);
It pops me an error such as:
TypeError: this.resolveNode("Table.Row1") is null...
This error pops up once I have 2 rows... it can't add a third row....
If I write :
this.resolveNode("Table.Row1[0]").instanceManager.addInstance(1);
It will add a row no problem. BUT the problem is when I save the form and reopen the form... there's only the first row (Row1[0]) and it's data that is showing up on the form...
Anyone knows how can I fix this?
Views
Replies
Sign in to like this content
Total Likes
Read my other post... I really need help out here.... anyone?
Views
Replies
Sign in to like this content
Total Likes
Have a look in the settings of the form. In Designer ES4, it's "File -> Form Properties -> Run time". You have a setting about preserving script changes or not. Make sure the value is set to "Automatically", to show the changes you have done through scripting.
Views
Replies
Sign in to like this content
Total Likes
I am having a issue that is kind of related to this post. Can you tell me where did you put your code to add the row?
I am trying to make a subform visible when a button is clicked. The 1st subform works fine but when trying to add another instance for the 2nd subform to be added when the button is clicked again, nothing! Can you help?
Views
Replies
Sign in to like this content
Total Likes