0 votes
42 views
in Coach Views by (13.5k points)

1 Answer

0 votes
by (13.5k 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 26 views
0 votes
0 answers 26 views
0 votes
0 answers 43 views
0 votes
0 answers 27 views
0 votes
1 answer 264 views
0 votes
0 answers 146 views
0 votes
0 answers 66 views
0 votes
1 answer 92 views
+1 vote
0 answers 50 views
+1 vote
0 answers 110 views
...