Hi
Does this isn't your need?
http://code.msdn.microsoft.com/windowsapps/ListView-custom-data-4dcfb128
I think this codes had show you how to delete a item in customize datasource.
function removeSelected() {
// Get the control, itemDataSource and selected items
var list2 = document.getElementById("listView3").winControl;
var ds = list2.itemDataSource;
if (list2.selection.count() > 0) {
list2.selection.getItems().done(function (items) {
// Start a batch for the edits
ds.beginEdits();
// To remove the items, call remove on the itemDataSource passing in the key
items.forEach(function (currentItem) {
ds.remove(currentItem.key);
ds.remove
});
// End the batch of edits
ds.endEdits();
});
}
}