icon String

Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be applied as background image of a span element inside the DropDownButton. The span element can be added automatically by the widget, or an existing element can be used, if it has a k-icon CSS class applied. For a list of available icon names, please refer to the Icons demo.

Example

<button id="dropdownbutton" type="button">Cancel</button>
<script>
$("#dropdownbutton").kendoDropDownButton({
    items:[
        { text: "item 1" },
        { text: "item 2" }
    ],
    icon: "cancel"
});
</script>
In this article