Created By Dosvak LLC (WWW.DOSVAK.COM)

0 votes
2 views
asked in Coach Views by (140 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? ??

Please log in or register to answer this question.

Related questions

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