on 04-20-2010 4:16 PM
Hello,
at first, is it possible to select a row of dynamic table from a interactive from and highlighting it?
I want to delete selected row(s) from the table of the interactive form, but the rows of my table aren't selectable.
If its possible, how do I get the index of the selected row?
thanks for your help....
regards Florian
Hi,
is it possible to select a row of dynamic table from a interactive from and highlighting it?
Yes Possible, Either you can have an additional column for check box which will repeated all the rows, by clicking that you can highlight that particular row. One more option no check box just click on the particular row so that entire row can be grayed out. We have write the code in the
On Click
event.
how do I get the index of the selected row?
var rowIndex = this.parent.index;
Regards,
Chandran S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Chandran,
thanks for your help. With your advice and a look to some other threads of reading tables, I solved my problem.
Now I have the look and feel of selecting a row in the table.
Maybe someone else interested in this solution:
var rowIdx;
this.parent.fillColor = color.ltgray;
rowIdx = rowIndex.rawValue;
if (rowIdx != null){
xfa.resolveNode("myMainPage.mySubForm.myTable.myRow["+rowIdx+"]").fillColor = "255,255,255";
}
rowIndex.rawValue = this.parent.index;
rowIndex is a invisble field on the form to remember the last index.
Regards Florian
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.