Accordion cells index


I saw the example … 1_dnd.html
But is there a way to iterate through the cells and find out its index outside of the event ?

What I’m trying to do is to show a set of pages(as accordion) which the user can rearrange. But once the
user clicks a save button, I want to iterate through each accordion cell and find out its index at that time and store them to
the server. How do I do this ? I cannot find a property or function that gives the index of the accordion cell.
Please assist.

Hi guys any help on this please…

Unfortunately, such feature is not available.

You can use drag-events to detect the change of order and store the new order in db|storage. On next loading code must order the items in config according to previously saved state