0 votes
15 views
in Coach Views by (11.7k points)

1 Answer

0 votes
by (11.7k 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 6 views
0 votes
0 answers 17 views
0 votes
0 answers 32 views
0 votes
0 answers 22 views
0 votes
1 answer 226 views
0 votes
0 answers 60 views
0 votes
0 answers 123 views
0 votes
1 answer 82 views
+1 vote
0 answers 41 views
+1 vote
0 answers 84 views

514 questions

423 answers

81 comments

1.6k users

Created By Dosvak LLC (WWW.DOSVAK.COM)
Our Public Git Repository

Dosvak UI Toolkit --- Download --- Demo

Subscribe us at

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