Hi,
I have a data-show function which loads up my listview tempate from a simple "data_testing_list" function which builds and returns a local array.
Now when I return to this view after first load, the listview has all nulls, so I "assume" (not sure) I cannot just re-create it using
for some reason (if so, could someone explain why this is so? as it seems a simple way to reload it?),
Could someone tell me the best practice for setting up this listview (I assume in .ready) and then reloading its data on subsequent shows?
I have a data-show function which loads up my listview tempate from a simple "data_testing_list" function which builds and returns a local array.
Now when I return to this view after first load, the listview has all nulls, so I "assume" (not sure) I cannot just re-create it using
$("#testing_listview").kendoMobileListView({ ...
for some reason (if so, could someone explain why this is so? as it seems a simple way to reload it?),
Could someone tell me the best practice for setting up this listview (I assume in .ready) and then reloading its data on subsequent shows?
function testing_show() {
$("#testing_listview").kendoMobileListView({
dataSource: kendo.data.DataSource.create({ data: data_testing_list(), group: "letter" }),
template: $("#testing_listview_template").html(),
headerTemplate: "${value}"
});
}
Thanks for your help
Matt