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

Related questions

0 votes
2 answers 264 views
0 votes
1 answer 79 views
asked Oct 31, 2019 in Coach Views by usabpm (13.6k points)
0 votes
0 answers 14 views
0 votes
0 answers 30 views
0 votes
1 answer 347 views
asked May 26, 2018 in Coach Views by BHAGYARAVI (320 points)
0 votes
2 answers 279 views
asked Dec 14, 2016 in Coach Views by venkat (2.1k points)
0 votes
0 answers 16 views
asked Dec 14, 2016 in Coach Views by venkat (2.1k points)
0 votes
3 answers 504 views
0 votes
2 answers 862 views
0 votes
1 answer 97 views
...