I realise the real villain here is Angular change detection, but anyways...
https://stackblitz.com/edit/angular-3r25bb?file=src%2Fapp%2Fapp.component.ts
This is sort of halfway between a bug and a feature: I've noticed when i add any kind of mouse event to a tree view node template then some global change detection kicks in, and in turn this seems to cause the svg carets in treeview to be constantly regenerated e.g. open the above stackblitz and move the mouse up and down the tree - if you look in the chrome inspector elements tab and go to the <kendo-svgicon> carets you will see their child nodes ( > svg > path) glow as they are being replaced - even though the replacement nodes are no different. If you edit the data in these nodes e.g. path coords, you'll see it get replaced when the mouse is moved up/down the tree again
This doesn't seem to affect any other parts of the tree view, just the carets... is there a chance this could be looked into why this is happening, and hopefully stopped? (our ultimate reason is we're also listening to DomChange events with a mutation observer on the tree and these changes cause many DomChange events that swamp the ones we actually want.)
(Also, I have looked into changing the change detection behaviour in angular but it isn't fine-grained enough to ignore just one particular declaration of an event listener in a template - it's all big sweeping component-level changes or using renderer classes and native listeners which are unwieldy, especially when the target concerned is in a ng-template like in this instance.)
[isDisabled]="disabled || isDisabled(node, nodeIndex(index))"
Because of the hardcoded disabled property, isDisabled cannot be reliably used to control which item is disabled.
Disabling the parent node automatically disables the entire tree under it and isDisabled is never called for those items.
It should behave like other functions - isChecked, isExpanded, isVisible etc - where you have full control over which item does what.
Hi, I was going through Treeview in angular 5. What I feel lacking in Treeview is search functionality. I would be very thankful if you can provide search functionality. Thanks
support r-click menu
Hi , When can we expect RTL support for Treeview component? Thanks
Treeview filter(with checkboxes)
Hi Team,
There is a filternodes option available but not with checkboxes. Would be glad to have Treeview filter(with checkboxes) something similar kenod jquery component(attached the link and screenshot for your reference). Is there any plans to release this feature in near future?
If you expand a tree node with 1000 items in it, and that tree has an ng-template the performance is very poor. It takes 7 seconds on my machine, see here https://www.telerik.com/forums/slow-treeview-with-large-datasets Please add virtualisation to the TreeView so that not so many DOM elements (and therefore ng-templates) need to be created.
Hi, Thanks for the great work on porting jQuery TreeView to pure Angular... If possible to port the drag & drop feature as well As a sidenote, maybe add TreeView category to this feedback page Thank you!