textTemplate

The template string or function for the visual text of the TreeView node.

<script type="text/javascript">
    jQuery(function ($) {
        $("#treeview").shieldTreeView({
            dataSource: {
                data: [
                    { name: "Item One" },
                    { name: "Item Two" }
                ]
            },
            textTemplate: "{name}"
        });
    });
</script>