0 votes
471 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.6k views
0 votes
2 answers 2.2k views
0 votes
0 answers 1.5k views
0 votes
1 answer 632 views
0 votes
0 answers 385 views
0 votes
0 answers 810 views
0 votes
0 answers 2.5k views
+1 vote
1 answer 2.9k views
0 votes
1 answer 886 views
0 votes
0 answers 421 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
...