Available in the OSS Version

Tree > API and Events

var node = $("#tree").igTree("selectedNode");
$("#tree").igTree("removeAt", node.path);

var nodes = $("#tree").igTree("findNodesByText", "Tech");
$("#tree").igTree("select", nodes[0].element);

$("#tree").igTree("addNode", { Text: "New Node" });

This sample is designed for a larger screen size.

On mobile, try rotating your screen, view full size, or email to another device.

This sample demonstrates how to handle events in the Tree control and API usage.

Code View

Copy to Clipboard