focus

Sets the focus to the TreeView

Example

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

var treeview = $("#treeview").data("kendoTreeView");
treeview.focus();
</script>
In this article
Not finding the help you need? Improve this article