0 votes
26 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
0 answers 19 views
0 votes
0 answers 36 views
0 votes
0 answers 25 views
0 votes
1 answer 243 views
0 votes
0 answers 133 views
0 votes
0 answers 62 views
0 votes
1 answer 83 views
+1 vote
0 answers 45 views
+1 vote
0 answers 89 views
...