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