hrefTemplate

The template string or function for any link (anchor) to be displayed in the TreeView node.

<script type="text/javascript">
    jQuery(function ($) {
        $("#treeview").shieldTreeView({
            dataSource: {
                data: [
                    { url: "/page1", text: "Page 1" },
                    { url: "/page2", text: "Page 2" }
                ]
            },
            hrefTemplate: "{url}"
        });
    });
</script>