I have a table and all the lines are read-only. In every row I have the pencil icon.
When clicking on the pencil icon, I want the cell to become editable.
In the onclick of the icon I used this code:
if (me.ui.getIndex () == 0) {
. $ {TblSaldo [0]} show ();
$ {TblSaldo2 [0]} setVisible (false, true) .;
} else if (me.ui.getIndex () == 1) {
. $ {TblSaldo [1]} show ();
$ {TblSaldo2 [1]} setVisible (false, true) .;
} ...
How can I use me.ui.getIndex () inside $ {tblSaldo2 [1]}, in order to have the dynamic line? ??