0 votes
1.8k views
in Coach Views by (16.3k points)

1 Answer

0 votes
by (16.3k points)
selected by
 
Best answer

Collapsible Panels can be improvised with a composite control where in on expanding a certain section the remaining sections can be closed except the current one which creates a accordion effect. Following code does the above

var myindex = me.ui.getIndex();

//alert(myindex);

for (var i=0; i < ${Accordion_Data1}.getData().items.length; i++){

if (i != myindex){

var str1 = "../Accordion_Collapsible_Panel1"+ "[" + i + "]";

if(me.ui.get(str1).isExpanded()){

me.ui.get(str1).collapse();

}

}

}

Related questions

0 votes
1 answer 916 views
0 votes
0 answers 942 views
0 votes
0 answers 843 views
0 votes
0 answers 339 views
0 votes
0 answers 900 views
0 votes
1 answer 1.4k views
0 votes
0 answers 1.2k views
0 votes
0 answers 960 views
0 votes
1 answer 834 views
+1 vote
0 answers 800 views
+1 vote
0 answers 577 views

635 questions

495 answers

98 comments

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