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:
@(Html.Infragistics().Tree() .ID("FilterTree") .Bindings(b1 => { b1 .ValueKey("Value") .TextKey("Text") .ImageUrlKey("Base64ImageUrl") .ChildDataProperty("ChildItems"); }) .DataSource(Model.TreeListItems) .DataBind() .ClientEvents(new Dictionary<string, string> { { "nodeClick", "FilterTreeNodeClicked" } }) .Render() )
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
}
I found the post to be quite engaging, although it required considerable effort to read through all the comments. Baseball Bros game.
Thank! Head Soccer
The Rice Purity Test is a harmless questionnaire designed to assess an individual's exposure to a variety of situations. It poses no physical or psychological hazards. However, it is important to remember that the test's questions may touch on sensitive issues or elicit emotional responses in certain people.
To get the parent tree node in the nodeClick client event in an ASP.NET MVC application using the Ignite UI for jQuery Tree (igTree), you can use the parentNode method. The parentNode method allows you to retrieve the parent node of the clicked node.
nodeClick
igTree
parentNode
In your code, you correctly identified the parentNode method, but it's important to understand how to access the ui.node element correctly, as ui.node represents the tree node object, not a DOM element directly.
ui.node
visit: basketball legends
The cI guess i have to learn some coding logics from you animexin.live