7.0 Change Navigation Treeview Widget Code change default

Posted by Community Admin on 03-Aug-2018 09:28

7.0 Change Navigation Treeview Widget Code change default

All Replies

Posted by Community Admin on 20-Jan-2014 00:00

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>

Posted by Community Admin on 21-Jan-2014 00:00

Hello Markus,

Thank you for sharing this with the community.
I have forwarded your proposal to our KendoUI team.

Regards,
Vassil Vassilev
Telerik

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed