Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Get parent tree node in nodeClick client event ASP.NET MVC

How do you get the parent tree node in the nodeClick JavaScript event? And, where is the documentation source for this information?

Here is my tree with the nodeClick client event:

    .Bindings(b1 =>
    .ClientEvents(new Dictionary<string, string> { { "nodeClick", "FilterTreeNodeClicked" } })

Here is my JavaScipt event:

function FilterTreeNodeClicked(evt, ui) {

    // This is NOT the tree node. Instead, it looks like a DOM element
    var ParentNode = $("#FilterTree").igTree("parentNode", ui.node.element);

    // I need the parent for ui.node


No Data
  • 640
    Offline posted

    Hello Ray,

    Thank you for posting in our community.

    This is an initial update to let you know that we have received your support request regarding how to get parent tree node in nodeClick client event in ASP.NET MVC and I am currently looking into this matter for you. I will keep you posted on my progress and I will get back to you soon with more information or questions for you.

    Please feel free to continue sending updates to this case at any time.

    Viktor Kombov
    Entry Level Software Developer
    Infragistics, Inc.