0 votes
345 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 1.6k views
0 votes
2 answers 1.8k views
0 votes
0 answers 632 views
0 votes
1 answer 360 views
0 votes
0 answers 318 views
0 votes
0 answers 696 views
0 votes
0 answers 2.0k views
+1 vote
1 answer 2.4k views
0 votes
1 answer 757 views
0 votes
0 answers 364 views

634 questions

495 answers

97 comments

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