PDA

View Full Version : Accordion reordering



mct
9 Dec 2009, 4:46 AM
Hi!
We didn't find how to reorder viewPort's accordion items that are posted dynamically from a database using directfn.



At the application initialization, they are displayed in a random positions and not in that correct order. However, the server's responses (in Firebug) are in the right order.


Thank you for helping us.

mct
9 Dec 2009, 6:14 AM
... Some help please.

CrazyEnigma
9 Dec 2009, 1:44 PM
Well, the accordion layout is a collection of panels from the API which means you can use the MixedCollection API to reorder the panels. Then you will probably have to re-render or doLayout.

Hope that helps a little bit.