This is a migrated thread and some comments may be shown as answers.

Expand TreeView programmatically doesn't seam to work

1 Answer 932 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ciprian Daniel
Top achievements
Rank 1
Iron
Iron
Iron
Ciprian Daniel asked on 09 Dec 2020, 02:21 PM

Hi everyone,

By setting the property Expanded equal to true in the collection the treeview does not expand anymore. This was working before but now, it doesn't.

To explain you more precisely what I have done: in the model I have the property Expanded. On double click on the node (not on the arrow in front of the node) I'am am setting the Expanded property to true if the node is closed or if the node is opened I'm setting the Expanded property to false. This was working before, but now it doesn't. Have you changed something for this component?

How can I fix this issue? Can you help me please?

 

Best regards,

Cipri

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 09 Dec 2020, 02:33 PM

Hi,

You can read more about this here: https://feedback.telerik.com/blazor/1498147-track-changes-in-properties-when-treeview-is-bound-to-observable-collection

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
TreeView
Asked by
Ciprian Daniel
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or