Hi Paulo,
The line of code you are looking for is
this.expand(e.node);
You can also attach it dynamically (rather than upon the treeview initialization) like so:
$(".k-treeview").data("kendoTreeView")
.bind("select", function(e) {
this.expand(e.node);
});
Regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!