template String|Function

Template for rendering each node.

Example

<input id="dropdowntree" >

<script>
    $("#dropdowntree").kendoDropDownTree({
        template: "#= item.text # (#= item.inStock #)",
        dataSource: [
            {
                text: "foo", inStock: 7, items: [
                    { text: "bar", inStock: 2 },
                    { text: "baz", inStock: 5 }
                ]
            }
        ]
    });
</script>
In this article