skip navigation
Kendo UI for Angular
Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
NEW
: Design Kits for Figma
Online Training
Document Processing Library
Embedded Reporting for web and desktop
Web
Kendo UI
UI for jQuery
UI for Angular
UI for React
UI for Vue
UI for Blazor
UI for ASP.NET Core
UI for ASP.NET MVC
UI for ASP.NET AJAX
Mobile
UI for .NET MAUI
UI for Xamarin
Document Management
Telerik Document Processing
Desktop
UI for .NET MAUI
UI for WinUI
UI for WinForms
UI for WPF
Reporting & Mocking
Telerik Reporting
Telerik Report Server
Telerik JustMock
Automated Testing
Test Studio
Test Studio Dev Edition
CMS
Sitefinity
UI/UX Tools
ThemeBuilder
Design System Kit
Debugging
Fiddler
Fiddler Everywhere
Fiddler Classic
Fiddler Jam
FiddlerCap
FiddlerCore
Free Tools
VB.NET to C# Converter
Testing Framework
View all products
Overview
Frameworks
jQuery
Angular
React
Vue
Docs & Demos
Get Started
Resources
Support and Learning
Support and Learning Hub
First Steps
Angular Tutorials and Learning
Virtual Classroom
Forums
Accessibility and Security
Submit a Ticket
Resources
Docs & Demos
Videos
Blogs
What’s New
Roadmap
Release History
Productivity and Design Tools
ThemeBuilder
Design System Documentation
Visual Studio Code Extensions
Embedded Reporting
Pricing
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
Kendo UI for Angular
This is a migrated thread and some comments may be shown as answers.
How to implement leaf only selection in kendo-treeview?
1 Answer
221 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Merlin
Top achievements
Rank 1
Merlin
asked on
21 Dec 2018,
03:57 AM
How to implement leaf only selection in kendo-treeview? I can't find sth like isSelectable in api. Thanks
Add a comment
Submit comment
Cancel
1 Answer
, 1 is accepted
Sort by
Score
Date
0
Accepted
Svet
Telerik team
answered on
24 Dec 2018,
12:14 PM
Hi Merlin,
We could use the
checkedKeys
input property of the
kendoTreeViewCheckable
directive in combination with handling the (
checkedChange
) event. This will allow us to modify the checked items based on any custom logic as per the requirements of the scenario, every time we check or uncheck an item. See the following example demonstrating how we can check only the children of a TreeView's item:
https://stackblitz.com/edit/angular-fbb6l2-hihc6b?file=app/app.component.ts
I hope this helps.
Regards,
Svetlin
Progress Telerik
Get
q
uickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.
Learn More
.
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
General Discussions
Asked by
Merlin
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or
Copy link