I would like to get Check Data

Hello all,

I'm making TreeView. But I occured any problem.
I have to get Red quadrangle data in bottom.

So I used The Method "getCheckedNodes()".
but I couldn't get data totally like bottom picture.


I could get only "Inc.DBA, Test(test), Fitness(testkr)". 
I have to get  "The HeadQuaters Data".
How should I do?


1 Reply

AB Ashokkumar Balasubramanian Syncfusion Team January 8, 2018 12:38 PM UTC

Hi June, 
 
We were able to get the intermediate checked node details in TreeView by using below code block. 
 
[Script] 
var treeObj = $("#treeView").ejTreeView("instance"); 
var InterCheckedNodes=$(treeObj.element.find(".e-item")).find('> div > .e-chkbox-wrap[aria-checked="mixed"]').closest('.e-item'); 
             
  
We have prepared simple sample with your requirement, please check the sample in below playground location. 
 
 
Please let us know, if the provided information’s are helpful to achieve your requirement or not. 
 
Regards, 
Ashokkumar B. 


Loader.
Up arrow icon