Created By Dosvak LLC (WWW.DOSVAK.COM)

0 votes
15 views
in Coach Views by (180 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 (180 points)
I use eval javascript function :-)

Related questions

0 votes
2 answers 147 views
0 votes
0 answers 8 views
0 votes
0 answers 20 views
0 votes
1 answer 197 views
asked May 26, 2018 in Coach Views by BHAGYARAVI (320 points)
0 votes
2 answers 183 views
asked Dec 15, 2016 in Coach Views by venkat (2.1k points)
...