Collapse and Expand

Feb 6, 2016 at 5:11 PM
Hi,

Does it come with Expand and Collapse feature?

Thank you
Oct 20, 2016 at 9:19 AM
Edited Oct 20, 2016 at 9:19 AM
you can use below code:
<style>
    #tree ul ul {
        display: none;
    }
</style>

<script>
    $("#tree  li").on("click", function (e) {
        e.stopPropagation();
        $(this).children('ul').toggle();
    });
</script>