0 votes
511 views
in Coach Views by (530 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 (530 points)
I use eval javascript function :-)
by (120 points)
Can you show an example please

Related questions

0 votes
0 answers 2.7k views
0 votes
2 answers 2.3k views
0 votes
0 answers 1.6k views
0 votes
1 answer 667 views
0 votes
0 answers 392 views
0 votes
0 answers 831 views
0 votes
0 answers 2.6k views
+1 vote
1 answer 3.0k views
0 votes
1 answer 904 views
0 votes
0 answers 438 views

635 questions

495 answers

98 comments

3.0k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...