Siva
Siva

Reputation: 63

dojox.mobile.ListItem Drag and Drop implementation with dojo

I have dojox.mobile.ListItem inside an dojox.mobile.RoundRectList got from web service. I need to implement drag and drop functionality for the list and handle that event.

Normal drag and drop in dojo is working fine with dojo.dnd.Source. But in mobile.ListItem I dont find any links. I'm not sure whether its possible or not.

It would be great if any one provide sample code or useful link regarding.

Thanks, Siva.

Upvotes: 1

Views: 200

Answers (1)

jleviaguirre
jleviaguirre

Reputation: 706

Enable the editable property on your dojox/mobile/RoundRectList and subscribe the "/dojox/mobile/deleteListItem" when removing an item.

enter image description here

The explanation is here and there are examples here under EdgeToEdgeList

Upvotes: 0

Related Questions