filtering treeview with drag&drop

1 Answer 57 Views
Drag and Drop TreeView
horváth
Top achievements
Rank 2
Iron
Iron
horváth asked on 20 Feb 2023, 10:04 AM

Hi,

this is a bug report. The treeview cant' be filtered, if the drag&drop directive is used.

1 Answer, 1 is accepted

Sort by
0
Veselin
Telerik team
answered on 22 Feb 2023, 04:47 PM

Hi Horvath,

Thank you for your query. 

I can confirm that this is an already known and logged issue/limitation of the Kendo UI for Angular Treeview component. Please follow this link to track our progress on this issue and subscribe to it to receive future updates: 

https://github.com/telerik/kendo-angular/issues/3535

The issue only applies if you are passing hierarchical data to the TreeView component. Having both filtering and drag&drop options by using the built-in directives is indeed possible if flat data is passed to the component. Please see the example below: 

https://stackblitz.com/edit/angular-saewxn-ayxrgi 

On the other hand, if passing hierarchical data to the TreeView component, the developer can implement manual filtering logic by binding to the filterChange event and still use the directives responsible for the drag&drop. Please see our manual filtering example for further reference and the below code example demonstrating a possible implementation of this approach: 

https://stackblitz.com/edit/angular-vybqpu-574umq 

I hope this helps.

Regards,
Veselin
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
Drag and Drop TreeView
Asked by
horváth
Top achievements
Rank 2
Iron
Iron
Answers by
Veselin
Telerik team
Share this question
or