I've created a table with 2 body rows.
The first is always visible and had different values than the second body row.
The second body row must be invisible at start and has to become visible when clicking the "add row" button.
The problem i have is:
- when setting the minimal instance to zero, my button doens't work
rowname.instanceManager.addInstance()
I can make the row invisible, but i don't know how to create a script to make it visible and add rows when clicked again.
can anyone help me to solve this?
Views
Replies
Total Likes
If you have set the instance to 0 then the object does not exist and hence you cannot
call its addInstance method. Because of this you can use the syntax _rowName.addInstance(1)
The underscore is an indication to call the instancemanger of an object hat has not beed layed down yet. Also there is a parameter to apss for this method. It is a true or false value that indicates whether to do a remerge or not.
paul
Views
Replies
Total Likes