or
ds =
new
kendo.data.HierarchicalDataSource({
data: [
{ FolderName: '
Documents'
, hasChildren:
true
, expanded:
true
}
],
schema: {
data:
'd'
,
model: {
id:
'FolderID'
,
hasChildren:
'HasChildren'
,
children: {
transport: {
read: {
url:
'Home.aspx/GetTreeNodes'
,
type: '
POST'
,
contentType:
'application/json; charset=utf-8'
,
},
parameterMap:
function
(data, operation) {
return
JSON.stringify({ RootFolder: '
Documents'
})
}
}
}
}
}
});
<div id=
"selectMenu"
data-role=
"view"
data-title=
"Emp-Suc"
data-init=
"selectInit"
>
<div data-role=
"header"
>
<div data-role=
"navbar"
>
<a data-role=
"backbutton"
href=
"#:back"
data-align=
"left"
>Atras</a>
Emp-Suc
</div>
</div>
<ul data-role=
"listview"
data-style=
"inset"
>
<li>
CompaƱia
<select id=
"company"
>
</select>
</li>
<li>
<select id=
"branch"
>
</select>
Sucursal
</li>
</ul>
</div>
function
selectInit(){
$(
"#company"
).kendoDropDownList({
dataSource: selectMenu_model.getUserBranch(selection_view_model),
dataTextField:
"Company"
,
dataValueField:
"CompanyId"
});
$(
"#branch"
).kendoDropDownList({
cascadeFrom:
"company"
,
dataTextField:
"Branch.Name"
,
dataValueField:
"Branch.BranchId"
,
dataSource: selectMenu_model.getUserBranch(selection_view_model),
autoBind:
false
});
}
I am using Kendo Tree View in Windows 7 and IE-8 inside Kendo Splitter control. We have load on demand implemented which will load data/child nodes on expanding each node.
The issue is whenever one expands any node the vertical scroll bar resets to top most position. Is it an embedded issue with Kendo or am I missing something. If not can you help me with a solution/workaround of this scroll position issue.
<
a
class
=
"k-link"
href
=
"#tabstrip-1"
>Profile</
a
>
Hello,
I need to customize default filter view on kendo grid. Can I replace filter destination after columns definition before grid data (it may look like grid toolbar)?
Thanks.