+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / 7.0 Change Navigation Treeview Widget Code change default

7.0 Change Navigation Treeview Widget Code change default

2 posts, 0 answered
  1. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    20 Jan 2014
    Link to this post
    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>
  2. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    21 Jan 2014
    Link to this post
    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
2 posts, 0 answered