Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Sort a Dynamic Table

Avatar

Former Community Member
Hi,



I am trying to sort a table based on a numeric value.

The table is dynamic and the user can add or remove rows.



Any suggestions how I would go about this?



Cheers



A
2 Replies

Avatar

Former Community Member
Just in case anyone needs to do this, the instanceManager has a moveInstance function which allows you to rearrange the rows.

Avatar

Former Community Member
I found the instanceManager and the moveInstance functions but i haven't yet figured out how to actually use them. I successfully have a dynamic table where people can add and remove rows but the ability to actually shift the rows within the table is something I can't figure out. Any help would be fantastic. Using LifeCycle Designer 8.0.