I am unable to replicate this demo on page/data load. With data that is already checked the parent gets put into an indeterminate state if any of its children are checked.
The indeterminate state only appears if the user manually clicks one of the children check boxes.
https://dojo.telerik.com/ebAVASUp - here February is checked and its parent is in an indeterminate state on data/page load
My Code
<kendo-treeview name=
"DataRestrictionTree"
load-on-demand=
"false"
template=
"#=TreeViewTemplateSet(item.PathDescription,item.ModifiedBy,item.ModifiedDate,item.checked)#"
>
<checkboxes check-children=
"true"
/>
<!--Batch attribute
in
hierachical datasource
is
needed so any change causes an update-->
<hierarchical-datasource type=
"Kendo.Mvc.UI.DataSourceTagHelperType.Ajax"
server-filtering=
"true"
server-sorting=
"true"
page-size=
"0"
batch=
"true"
on-request-end=
"RequestEnd"
>
<transport>
<read url=
"@Url.Action("
GetDataRestrictionAssignments
", "
DataRestrictionAssignment
")"
datatype=
"json"
data=
"DataAssignmentFilter"
/>
<update url=
"@Url.Action("
UpdateDateRestrictions
", "
DataRestrictionAssignment
")"
datatype=
"json"
/>
</transport>
<schema>
<hierarchical-model id=
"PrimaryId"
children=
"HasChildren"
></hierarchical-model>
</schema>
</hierarchical-datasource>
</kendo-treeview>