template String|Function

Specifies the item template of the ListBox.

Example

 <script type="text/kendo-x-tmpl" id="template">
    <div>
        Item template for #:name#
    </div>
 </script>

 <select id="listBox"></select>
 <script>
 $("#listBox").kendoListBox({
    dataSource: {
        data: [
            { name: "Jane Doe" },
            { name: "John Doe" }
        ]
    },
    template: kendo.template($("#template").html())
});
</script>
In this article