Hi,
can anyone help with this problem?
https://www.telerik.com/kendo-react-ui/components/treeview/expansion/expanding-all/
I need to expand all items by default in treeview, but it does not work for nested hierarchy. I tried this example, but it does not work for nested json.
For example if i have sometnig like this, it does not show element 'a'?
const tree = [{
text: 'Item1',
items: [{
text: 'Item1.1'
}, {
text: 'Item1.2',
items:[{text:'Item a'}]
}]
}, {
text: 'Item2',
items: [{
text: 'Item2.1'
}, {
text: 'Item2.2'
}]
}];