Hello,
We are upgrading the version of the kendo libs we are using. The tree view version went from 4.3.0 to 5.1.1. After this upgrade the tree views in our app don't update dynamically when the bound data is changed. That is when nodes are added, they are not shown.
I tried to make a plunker to demo this problem, and at first I seemed to replicate it, but then I found that including the BrowserAnimationsModule in the plunker fixed it, but we're already doing that in our app. So I don't have a MWE to show you. :-( But it still makes me think it is some kind of animation failure. No errors are logged.
I hate asking this question without being able to provide an actual example, but maybe someone will recognize the symptoms... Here are some bits of the code, it's basically for displaying and editing GridList filters
<kendo-treeview [nodes]="[filter]" kendoTreeViewHierarchyBinding childrenField="filters">
<ng-template kendoTreeViewNodeTemplate let-dataItem let-index="index">
<button kendoButton look="flat" icon="close" (click)="delete(index)"></button>
<span *ngIf="dataItem.filters != null">
<button kendoButton icon="filter-add-expression" [look]="'flat'" (click)="addFilter(dataItem)"></button>
<button kendoButton icon="filter-add-group"[look]="'flat'"(click)="addGroup(dataItem)"></button>
...
</ng-template>
</kendo-treeview>
...
public filter: CompositeFilterDescriptor;
public addFilter(dataItem: CompositeFilterDescriptor) {
dataItem.filters.push({ field: '', operator: 'eq', value: '' });
}
public addGroup(dataItem: CompositeFilterDescriptor) {
dataItem.filters.push({
logic: 'and',
filters: [{ field: '', operator: 'eq', value: '' }],
});
}
Here are the version changes we did. I also tried updating Angular from 11.0.4 to 11.2.12 without luck.