Hi There,
I am unable to determine how to use the .get() method on the DataSource object to retrieve a Model instance. Whenever I call the .get() method and pass it a value, an 'undefined' object is always returned.
I have attached complete sample files which can be used to reproduce the problem.
Thanks,
Richard
I am unable to determine how to use the .get() method on the DataSource object to retrieve a Model instance. Whenever I call the .get() method and pass it a value, an 'undefined' object is always returned.
I have attached complete sample files which can be used to reproduce the problem.
if (viewID === "poDetails-view") { var poNumber = getQueryStringParam("PO"); po = ds.get(poNumber); /**** ALWAYS RETURNS 'undefined' ****/ view.content.data("kendoMobileScroller").scrollElement.html(poDetailsTemplate(po)); kendo.mobile.enhance(view.content);}Thanks,
Richard