0 votes
417 views
in Coach Views by (16.6k points)

1 Answer

0 votes
by (16.6k 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 264 views
0 votes
0 answers 272 views
0 votes
0 answers 240 views
0 votes
0 answers 104 views
0 votes
0 answers 149 views
0 votes
1 answer 753 views
0 votes
0 answers 481 views
0 votes
0 answers 315 views
0 votes
1 answer 282 views
+1 vote
0 answers 306 views
+1 vote
0 answers 294 views

616 questions

493 answers

92 comments

2.0k users

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