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

Check Checkbox on node click

3 Answers 49 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Christopher
Top achievements
Rank 1
Christopher asked on 15 Aug 2013, 06:00 PM
I'm using a Kendo TreeView with checkboxes, similar to the example provided on the demo page here.  It appears that the behavior of the TreeView widget with checkboxes enabled is that checkboxes are only checked when the checkbox itself is not clicked and not when the node is clicked.  In the following jsFiddle, I'd like to, for example, click the text My Documents and have it's associated checkbox, and all child checkboxes checked.

http://jsfiddle.net/13daysaweek/9bSFr/

Is this behavior possible with the TreeView?

3 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 16 Aug 2013, 06:36 AM
Hi Christopher,


The TreeView does not have such functionality out of the box, but it could it be easily implemented via jQuery. Here is the modified example.

I hope that this was the information that you were looking for. I wish you a great day!

 

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Christopher
Top achievements
Rank 1
answered on 16 Aug 2013, 02:21 PM
Thanks Dimiter!  That's exactly what I needed.
0
yyy111
Top achievements
Rank 1
answered on 14 Apr 2014, 09:10 AM
This is what I need
Tags
TreeView
Asked by
Christopher
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Christopher
Top achievements
Rank 1
yyy111
Top achievements
Rank 1
Share this question
or