<kendo:dropDownButton-item>

Specifies the menu buttons of the DropDownButton.

Example

<kendo:dropDownButton-items>
    <kendo:dropDownButton-item></kendo:dropDownButton-item>
</kendo:dropDownButton-items>

Configuration Attributes

attributes java.lang.Object

Adds custom attributes to the LI element of the menu button.

Example

<kendo:dropDownButton-item attributes="attributes">
</kendo:dropDownButton-item>

click java.lang.String

Adds unique click callback for the menu item.

Example

<kendo:dropDownButton-item click="click">
</kendo:dropDownButton-item>

data java.lang.String

Adds a custom data callback to be added to the context of menu item - useful to attach context dynamically.

Example

<kendo:dropDownButton-item data="data">
</kendo:dropDownButton-item>

enabled boolean

Toggles the enabled state of the item.

Example

<kendo:dropDownButton-item enabled="enabled">
</kendo:dropDownButton-item>

hidden boolean

Indicates wether the item should hidden.

Example

<kendo:dropDownButton-item hidden="hidden">
</kendo:dropDownButton-item>

icon java.lang.String

Specifies the icon of the item.

Example

<kendo:dropDownButton-item icon="icon">
</kendo:dropDownButton-item>

id java.lang.String

Specifies the id of the item.

Example

<kendo:dropDownButton-item id="id">
</kendo:dropDownButton-item>

imageUrl java.lang.String

Specifies the image of the item.

Example

<kendo:dropDownButton-item imageUrl="imageUrl">
</kendo:dropDownButton-item>

spriteCssClass java.lang.String

Specifies custom css class added to the sprite icon element of the item.

Example

<kendo:dropDownButton-item spriteCssClass="spriteCssClass">
</kendo:dropDownButton-item>

text java.lang.String

Specifies the text of the item. ### items.url StringSpecifies the url of the item - it will render a element and will navigate the browser on click.

Example

<kendo:dropDownButton-item text="text">
</kendo:dropDownButton-item>

Event Attributes

click String

Adds unique click callback for the menu item.

Example

<kendo:dropDownButton-item click="handle_click">
</kendo:dropDownButton-item>
<script>
    function handle_click(e) {
        // Code to handle the click event.
    }
</script>

data String

Adds a custom data callback to be added to the context of menu item - useful to attach context dynamically.

Example

<kendo:dropDownButton-item data="handle_data">
</kendo:dropDownButton-item>
<script>
    function handle_data(e) {
        // Code to handle the data event.
    }
</script>

Event Tags

kendo:dropDownButton-item-click

Adds unique click callback for the menu item.

Example

<kendo:dropDownButton-item>
    <kendo:dropDownButton-item-click>
        <script>
            function(e) {
                // Code to handle the click event.
            }
        </script>
    </kendo:dropDownButton-item-click>
</kendo:dropDownButton-item>

kendo:dropDownButton-item-data

Adds a custom data callback to be added to the context of menu item - useful to attach context dynamically.

Example

<kendo:dropDownButton-item>
    <kendo:dropDownButton-item-data>
        <script>
            function(e) {
                // Code to handle the data event.
            }
        </script>
    </kendo:dropDownButton-item-data>
</kendo:dropDownButton-item>
In this article
Not finding the help you need?