<kendo:taskBoard-toolbar-item>

Configures the items collection of the toolbar.

Example

<kendo:taskBoard-toolbar-items>
    <kendo:taskBoard-toolbar-item></kendo:taskBoard-toolbar-item>
</kendo:taskBoard-toolbar-items>

Configuration Attributes

attributes java.lang.Object

Specifies the HTML attributes of a ToolBar button.

Example

<kendo:taskBoard-toolbar-item attributes="attributes">
</kendo:taskBoard-toolbar-item>

click java.lang.String

Specifies the click handler of the button.

Example

<kendo:taskBoard-toolbar-item click="click">
</kendo:taskBoard-toolbar-item>

command java.lang.String

Specifies the command of the button.

Example

<kendo:taskBoard-toolbar-item command="command">
</kendo:taskBoard-toolbar-item>

enable boolean

Specifies whether the control is initially enabled or disabled. Default value is "true".

Example

<kendo:taskBoard-toolbar-item enable="enable">
</kendo:taskBoard-toolbar-item>

hidden boolean

Determines if a button is visible or hidden. By default buttons are visible.

Example

<kendo:taskBoard-toolbar-item hidden="hidden">
</kendo:taskBoard-toolbar-item>

icon java.lang.String

Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.

Example

<kendo:taskBoard-toolbar-item icon="icon">
</kendo:taskBoard-toolbar-item>

id java.lang.String

Specifies the ID of the button.

Example

<kendo:taskBoard-toolbar-item id="id">
</kendo:taskBoard-toolbar-item>

imageUrl java.lang.String

If set, the ToolBar will render an image with the specified URL in the button.

Example

<kendo:taskBoard-toolbar-item imageUrl="imageUrl">
</kendo:taskBoard-toolbar-item>

name java.lang.String

Specifies the name of the button.

Example

<kendo:taskBoard-toolbar-item name="name">
</kendo:taskBoard-toolbar-item>

options java.lang.String

Specifies the command options of the button.

Example

<kendo:taskBoard-toolbar-item options="options">
</kendo:taskBoard-toolbar-item>

overflow java.lang.String

Specifies the overflow of the button.

Example

<kendo:taskBoard-toolbar-item overflow="overflow">
</kendo:taskBoard-toolbar-item>

primary boolean

Specifies whether the button is primary. Primary buttons receive different styling.

Example

<kendo:taskBoard-toolbar-item primary="primary">
</kendo:taskBoard-toolbar-item>

showIcon java.lang.String

Specifies where the button icon will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).

Example

<kendo:taskBoard-toolbar-item showIcon="showIcon">
</kendo:taskBoard-toolbar-item>

showText java.lang.String

Specifies where the text will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).

Example

<kendo:taskBoard-toolbar-item showText="showText">
</kendo:taskBoard-toolbar-item>

spriteCssClass java.lang.String

Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.

Example

<kendo:taskBoard-toolbar-item spriteCssClass="spriteCssClass">
</kendo:taskBoard-toolbar-item>

template java.lang.String

Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.

Example

<kendo:taskBoard-toolbar-item template="template">
</kendo:taskBoard-toolbar-item>

text java.lang.String

Sets the text of the button.

Example

<kendo:taskBoard-toolbar-item text="text">
</kendo:taskBoard-toolbar-item>

togglable boolean

Specifies if the button is togglable, e.g. has a selected and unselected state.

Example

<kendo:taskBoard-toolbar-item togglable="togglable">
</kendo:taskBoard-toolbar-item>

type java.lang.String

Specifies the type of the button.

Example

<kendo:taskBoard-toolbar-item type="type">
</kendo:taskBoard-toolbar-item>

Event Attributes

click String

Specifies the click handler of the button.

Example

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

template String

Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.

Example

<kendo:taskBoard-toolbar-item template="handle_template">
</kendo:taskBoard-toolbar-item>
<script>
    function handle_template(e) {
        // Code to handle the template event.
    }
</script>

Event Tags

kendo:taskBoard-toolbar-item-click

Specifies the click handler of the button.

Example

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

kendo:taskBoard-toolbar-item-template

Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.

Example

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