New to Kendo UI for jQueryStart a free 30-day trial

FindByText

methods

Searches for a node that has specific text.

Parameters:textString

The text that is being searched for.

Returns:jQuery

All nodes that have the text.

<div id="treeview"></div>
<script>
$("#treeview").kendoTreeView({
  dataSource: [
    { text: "foo" },
    { text: "bar" }
  ]
});

var treeview = $("#treeview").data("kendoTreeView");
// find the node with text "foo"
var foo = treeview.findByText("foo");
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(foo);
</script>
Not finding the help you need?
Contact Support