I've seen some similar posts, but not exactly what I need.
I have two ListViews
Items can be dragged and dropped between them.
I need to be able to remove the dragged item from one list and add it to the other list.
This is how the ListView is created.
<div id="serversAll">
<div data-role="scroller" style="background-color: gray; height: 300px; width: 370px; padding-top: 13px; padding-bottom: 17px;">
<table data-bind="source: serversAll" data-template="templateServers" class="servers"></table>
</div>
</div>
var vmSevers = kendo.observable({
isVisible: true,
serversAll: new kendo.data.DataSource({
schema: {
model: {
id: "Id"
}
},
batch: false,
transport: {
read: {
url: url
}
}
})
});
kendo.bind($("#serversAll"), vmSevers, kendo.mobile.ui);
I have two ListViews
Items can be dragged and dropped between them.
I need to be able to remove the dragged item from one list and add it to the other list.
This is how the ListView is created.
<div id="serversAll">
<div data-role="scroller" style="background-color: gray; height: 300px; width: 370px; padding-top: 13px; padding-bottom: 17px;">
<table data-bind="source: serversAll" data-template="templateServers" class="servers"></table>
</div>
</div>
var vmSevers = kendo.observable({
isVisible: true,
serversAll: new kendo.data.DataSource({
schema: {
model: {
id: "Id"
}
},
batch: false,
transport: {
read: {
url: url
}
}
})
});
kendo.bind($("#serversAll"), vmSevers, kendo.mobile.ui);