Created By Dosvak LLC (WWW.DOSVAK.COM)

0 votes
26 views
in Coach Views by (480 points)
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? ??

1 Answer

0 votes
by (480 points)
I use eval javascript function :-)

Related questions

0 votes
2 answers 173 views
0 votes
0 answers 10 views
0 votes
0 answers 21 views
...