Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

Change Order of items in a jQuery Mobile List component.

Currently When you add a list component, items are added consecutively. I often would like to add extra items, but not necessarily at the end, or I may want to re-order the items.

Currently the only way to do this is to create the component from scratch or edit the html, which as we know will break the link with the visual editor.

I think it would be a nice feature to be able to re-order the list items after they have been added.

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

Change Order of items in a jQuery Mobile List component.

Hi Terry, not too sure what you insert or like to re-order.
if you allow me to say something, I wld do it with JS by manipulating the array of data/objects received onSuccess from the service.
if you think this way may help, give me an example, I will try to come up with a short snippet.
Eric

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

Change Order of items in a jQuery Mobile List component.

yes, I guess you could re-order them at run-time using javascript to manipulate the DOM. That's quite a good idea and I may do that in future, but it would be nice to be able to do it from Appery's development environment.

It was more of a suggestion to the development team to add to their 'wish list'

Thanks for your response though.

Return to “Issues”