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

Checking checkboxes in treeview

Thread ID:





117077 Aug 5,2014 11:50 AM UTC Aug 7,2014 04:52 PM UTC ASP.NET MVC 1
Tags: TreeView
Asked On August 5, 2014 11:50 AM UTC

I have a problem with checking checkboxes programmatically on the TreeView. I generate the TreeView with a DataManager

var dataManger = ej.DataManager({

url: "/Api/Test/Get"


var query = ej.Query().select("Id,Name");



showCheckbox: true,

height: 300,

fields: { dataSource: dataManger, query: query, id: "Id", parentId: "HeadId", text: "Nazwa" }


 And then I want to check a checkbox with the following code but it doesn't work.

var treeObj = $("#treeView").data("ejTreeView");


 Can you help me?

Harikrishnan P [Syncfusion]
Replied On August 7, 2014 04:52 PM UTC

Hi Roman,

Sorry for the inconvenience caused.

We have tried to check the checkboxes programmatically while generating treeview using data Manager. But script error is thrown while using data manager and when checkbox is enabled. We have confirmed this as a defect and an issue report has been logged for this issue. Fix for this issue will be available in our upcoming service pack release for ASP.NET MVC which is expected to be rolled out this month end. We will update this thread once our service pack release is rolled out.

Please let us know if you have further queries.



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

This page will automatically be redirected to the 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