or
<div class="back-button-show" data-role="view" data-layout="app" data-show="getVendorDetails" data-title="" id="vendor-details"></div><script type="text/x-kendo-template" id="vendors-all-list"> <a class="vendor-details-link" data-role="listview-link" href="\#vendor-details?id=${id}"> <div class="vendor-list-booth">${ booth_number }</div> ${ name }<br /> <span class="vendor-list-taglag">${ tag_line }</span><br /> </a> </script> <script type="text/x-kendo-template" id="vendor-details-template"> ${ name } </script><script>... var getVendorDetails = function(e) { var view = e.view; vendor = vendorAlphaDS.get(view.params.id); view.content.data("kendoMobileScroller").scrollElement.html(vendorDetailTemplate(vendor)); kendo.view.enhance(view.content); };</script>// note that this suggest is not the same as the configuration method
// suggest which enables/disables auto suggesting for the AutoComplete
//
// get a referenence to the Kendo UI AutoComplete
var autoComplete = $("#autoComplete").data("kendoAutoComplete");
// force a suggestion to the item with the name "Inception"
autoComplete.suggest("Inception");
treeview.remove(".k-item")