Hi,
i'm trying to add selected values from a dropdown to an certain row in an iteration grid and then be able to select a certain row to get values from this row.
<form>
<section-test>
<selectionDropdown/>
<row/>
<addData/>
<insertGrid>
<insertGrid-iteration>
<preferenceOrder/>
<data/>
<extractData/>
</insertGrid-iteration>
</insertGrid>
<dataExtracted/>
</section-test>
</form>
I have a button (addData) that should insert the selected value from the dropdown to the iteration grid at the row typed in row field..
<xf:action observer="addData-control" event="DOMActivate">
<xf:insert ref="//insertGrid" at="//row" position="after"/>
<xf:setvalue ref="//data" value="//selectionDropdown"/>
</xf:action>
With that action, the value selected is inserted at first position and the rest of rows are overwritten with the value inserted the very first time, and i don't be able to solve it.
In the same example, i'm trying to pass the value from a row to a external field but i don't know how to get the index of a row to write the get function.
Could you give some idea?
Thanks in advance.
Javi.