We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

tree view issues

How to make tree view in pop up which have check boxes and multi selection too.

i used list view with checked boxes on pop up previously.



1 Reply

KR Karthik Ravichandran Syncfusion Team May 29, 2017 09:22 AM UTC

Hi Ansa, 
 
Thanks for contacting Syncfusion support. 
 
We have checked your query. You can achieve your requirement (“How to make tree view in pop up which have check boxes and multi selection too.”) by using ShowCheckbox and AllowMultiSelection property in TreeView component. Please refer the below code example 
 
 
@(Html.EJ().TreeView("tree") 
           .TreeViewFields(s =>   s.Datasource((IEnumerable<datas>)ViewBag.datasource).Id("id").ParentId("pid") 
                          .Text("name").HasChild("hasChild").Expanded("expanded")) 
       .ShowCheckbox(true).AllowMultiSelection(true)) 
 
Based on your requirement, we have prepared the sample and attached in the below link. 
 
 
Please let us know if you need further assistance on this. 
 
Regards, 
Karthik R 


Loader.
Up arrow icon