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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Treeview inside a form

Thread ID:





125058 Jul 18,2016 01:31 PM UTC Jul 19,2016 12:47 PM UTC JavaScript 1
Tags: ejTreeView
Tom Droste
Asked On July 18, 2016 01:31 PM UTC

I've a form that contains an "unlimited depth" category list. To keep it maintainable I would like to use  some sort of treeview system to let the user select one or more categories, but I can't figure out how to get the checkboxes translated in to real checkboxes instead of divs. 

Ashokkumar Balasubramanian [Syncfusion]
Replied On July 19, 2016 12:47 PM UTC

Hi Tom, 

Thanks for contacting Syncfusion support. 
We have analyzed your requirement. You can have checkbox in each node of treeview control by enabling the property “showCheckBox” as true.  
We have get the checked node details in below ways. 
1.       getCheckedNodes()àgets currently checked node’s jQuery object 
For more details on the getCheckedNodes, please refer to the help document link: 
2.       getCheckedNodesIndex()àgets currently checked node’s indexes  
       For more details on the getCheckedNodesIndex, please refer to the help document link: 
As per requirement we have prepared sample.Please find it below. 
In the above sample we have set showCheckbox property to treeview and also get the checked node’s indexes. 
 If still the problem persists, please revert back the provided sample based on your application along with the replication procedure to showcase the issue at our end. This would be more helpful for us to provide better solution at the earliest. 
Ashokkumar B.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon