Checkboxes

2 posts, 0 answers
  1. durga bhavani
    durga bhavani avatar
    19 posts
    Member since:
    May 2012

    Posted 25 Aug 2012 Link to this post

    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
  2. Randy
    Randy avatar
    73 posts
    Member since:
    Jan 2009

    Posted 28 Aug 2012 Link to this post

     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 
Back to Top