---
title: tabIndex
name: tabIndex-slide
---

Set the tabindex of the tree. The default is `0`.

Note that the tabindex is set to the selected node.

{% highlight js %}
$('#tree1').tree({
    tabIndex: 5
});
{% endhighlight %}
