I have a mobile listview bound to a model array.
I would like to bind the swipe events on the list view items to display a delete button (the iOS way).
I have implemented the swipe events as explained at http://demos.kendoui.com/mobile/swipe/index.html.
Unfortunately I cannot specify the function that binds the events in the data-init attribute of the view because my listview is dynamic.
1) Which event shall I use (change event on the model? how can I be sure that it is called after the listview is updated?)
2) How to unbind the handlers before binding them again?
Optionally:
3) Is there any way to make the items in the list view draggable to be reordered?
I would like to bind the swipe events on the list view items to display a delete button (the iOS way).
I have implemented the swipe events as explained at http://demos.kendoui.com/mobile/swipe/index.html.
Unfortunately I cannot specify the function that binds the events in the data-init attribute of the view because my listview is dynamic.
1) Which event shall I use (change event on the model? how can I be sure that it is called after the listview is updated?)
2) How to unbind the handlers before binding them again?
Optionally:
3) Is there any way to make the items in the list view draggable to be reordered?