or
$(
"#product-entry-list input"
).kendoAutoComplete({
filter:
'contains'
,
dataTextField:
'Name'
,
dataSource: {
type:
'odata'
,
serverFiltering:
true
,
serverPaging:
true
,
pageSize: 20,
transport: {
read: {
url: window.rootUrl +
'odata/ProductLines'
,
dataType:
'json'
,
data: {
$filter:
"Hidden eq false"
}
}
},
schema: {
data: (d) => d.value,
total: (d) => d[
'odata-count'
]
}
}
});
branch.Add().Text(childs.SomeTitle).Id(childs.AlphaId.ToString()).HtmlAttributes(new { data_foo = childs.BravoId });
.TemplateId("treeview-template")
function
btnShowModalView_Click(e) {
var
mv = $(
"#mvComposer"
).data(
"kendoMobileModalView"
);
//look under the hood of kendoMobileModalView
//console.log(mv);
mv.shim.options.duration = 200;
mv.shim.options.effect =
"slide:up"
;
mv.open();
}