7.0 Change Navigation Treeview Widget Code change default
Would it be possible to change the code of the vertical with sublevels (treeview) default code to this?
Somehow I do think it's a lot more common to have the selected expanded then all. And if you keep the old line commented users can easely switch back.
Just an idea.
Markus
<%-- link to Kendo documentation http:
//demos.kendoui.com/web/treeview/index.html --%>
<script type=
"text/javascript"
>
(
function
($)
var
kendoTreeView = $(
'.sfNavTreeview'
).not(
'div.k-treeview .sfNavTreeview'
).kendoTreeView(
animation:
false
).data(
'kendoTreeView'
);
// kendoTreeView.expand(kendoTreeView.element.find(".k-item"));
kendoTreeView.expand(kendoTreeView.element.find(
".sfSel"
));
)(jQuery);
</script>
Hello Markus,
Thank you for sharing this with the community.
I have forwarded your proposal to our KendoUI team.
Regards,
Vassil Vassilev
Telerik