0 votes
484 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.2k views
0 votes
0 answers 1.5k views
0 votes
1 answer 657 views
0 votes
0 answers 388 views
0 votes
0 answers 820 views
0 votes
0 answers 2.5k views
+1 vote
1 answer 2.9k views
0 votes
1 answer 897 views
0 votes
0 answers 429 views

635 questions

495 answers

98 comments

2.9k 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
...