dataImageUrlField String (default: null)

Sets the field of the data item that provides the image URL of the DropDownTree nodes.

Example - specify custom image URL field

<input id="dropdowntree" style="width: 400px;">
<script>
    var items = [
        { text: "Mail", image: "https://demos.telerik.com/kendo-ui/content/web/treeview/mail.png" },
        { text: "Search", image: "https://demos.telerik.com/kendo-ui/content/web/treeview/search.png" }
    ];
    $("#dropdowntree").kendoDropDownTree({
        dataImageUrlField: "image",
        dataSource: items
    });
</script>
In this article
Not finding the help you need? Improve this article