|118222||Feb 12,2015 11:53 AM UTC||Feb 13,2015 09:08 AM UTC||ASP.NET MVC||1|
Thanks for using Syncfusion products,
We have analyzed your requirement (need Parent id, text, id as arguments in node select event).Currently in ‘nodeSelect’ event arguments we can get selected node’s value only. We have already logged this requirement as bug and a support incident has been created under your account to track the status of this requirement.
For your convenience we have prepared the workaround solution to achieve your requirement.
In node select event we can get the current element as arguments. We can use this current element and get the required fields (Pid, id, text) using jQuery traversing.
Please find the below code snippet
var Pid =args.currentElement.parents("li").attr("id");
alert("Parent id :" +Pid +" id :"+id+" text :"+text);
Please use above code in your project to achieve your requirement until we fix the reported issue.
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.
This page will automatically be redirected to the sign-in page in 10 seconds.