New to Kendo UI for jQuery? Download free 30-day trial


The ListBox supports the use of templates for its items that are passed as а function or string.

    <script type="text/kendo-x-tmpl" id="template">
        <h5 style="color:#=data.color#">#=name#</h5>

    <select id="listbox"></select>
            dataSource: {
                data: [
                    { name: "Red", color: "red" },
                    { name: "Blue", color: "blue" },
                    { name: "Green", color: "green" }
            template: kendo.template($("#template").html())

See Also

In this article
Not finding the help you need? Improve this article