Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Remove a table row with a button in Livecycle Designer ES3

$
0
0

I have a table in Livecycle that has 16 static rows. More rows can be added or removed dynamically at the end of the table.

 

I would like the user to be able to delete one of the static rows if they want however I can't get the script to work.

 

I have a button at the end of the row with the script:

driverTable._Row2.removeInstance(true);

 

I have tried various forms of this script such as not using the shorthand for "instanceManager", leaving "true" out, etc. Where it says "Row2" I would use this script for the subsequent rows, Row3, Row4 etc.

 

I have tried it with the initial count set to 1 and tried it set to zero. The table is in a flowable subform.

 

Can anyone help?


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>