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

Remove last row in table

$
0
0

I have a form that I allow the user to determine how many rows will be displayed in a table.  I am using a drop down list and use the following code. I would like no table rows to display when zero is selected but the last row is always displayed even when zero is selected.  How can I remove the last row.

 

var iRows = xfa.event.newText;

if (iRows == "0") {

    //What code should go here

 

}

else {

    TextField1.rawValue = iRows;

    TrainingReport.TrainingTable.TrainingData.instanceManager.setInstance s(iRows);

}


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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