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

Checkboxes

1 Answer 123 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
durga bhavani
Top achievements
Rank 1
durga bhavani asked on 25 Aug 2012, 05:19 AM
Hi,

I am using Kendoui treeview in this i need chekboxes for both parent and child,  

when i click on parent, child also should be get selected,

and if i click on child it should display it's node id and parentid,

if i click multiple checkboxes they should display their id's and when i click on delete button all the mutiple selected checked nodes should be removed dynamically. 

Please can you provide me any sample code (or) related example.

Thanks in Advance,
    Durga

1 Answer, 1 is accepted

Sort by
0
Randy
Top achievements
Rank 1
answered on 28 Aug 2012, 04:38 PM
 I am new to TreeView as well. I can answer part of your question.

This is available on the newest versions of Kendo. I am running 2012.2.823, but I believe it works on 2012.2.720 (Not positive about the 720, but the currently production version). It will show a partial check for the parent, if you select the child and all of the children are not selected, while selecting the parent will select all of the children.

            $("#treeview").kendoTreeView({
                checkboxes: {
                    checkChildren: true
                },

Hope this helps.
Randy 
Tags
TreeView
Asked by
durga bhavani
Top achievements
Rank 1
Answers by
Randy
Top achievements
Rank 1
Share this question
or