Hello Karl,
Just tried the sample more thoroughly, and it seems I misguided you. The call to off() will disable all hover effects, and the filter won't do anything. In order to make it work, the handlers need to be re-attached to the clickable nodes:
$("#treeview").data("kendoTreeView").wrapper
.off("mouseenter mouseleave")
.find(".k-item > div:only-child .k-in")
.on({
mouseenter: function() { $(this).addClass("k-state-hover"); },
mouseleave: function() { $(this).removeClass("k-state-hover"); }
});
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!