I'm wondering if drag n drop short list like the functionality of iPhone bookmark possible in Sencha touch 2.
I've searched through many sencha touch Q&A but didn't find any suitable answer.
This code makes list draggable but only works for top to bottom. Can't drag any item from bottom of the list to up.
var selEl = dataview.element.down("." + dataview.getSelectedCls());
var d = new Ext.util.Draggable({
element: selEl,
listeners: {
dragstart: function(self, e, startX, startY) {
console.log("test dragStart[" + startX + ":" + startY + "]");
},
drag: function(self, e, newX, newY) {
console.log("test drag[" + newX + ":" + newY + "]");
},
dragend: function(self, e, endX, endY) {
console.log("test dragend[" + endX + ":" + endY + "]");
}
}
});
is it possible to have shortable list in sencha touch 2?