I can not refresh the listview when a dialog which add's or deletes rows from this listview is closes.
I tried several things. but the following does not work
function closeModalViewRemove() {
$("#modalview-app-remove").kendoMobileModalView("close");
//--- this is not working -- start ---
refreshAppList();
//--- this is not working -- finish ---
};
function refreshAppList() {
var applist = $('#applist').data('kendoMobileListView');
applist.dataSource.read();
applist.refresh();
}
what am I doing wrong?