<kendo:fileManager-toolbar-item>

Configures the items collection of the toolbar.

Example

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

Configuration Attributes

attributes java.lang.Object

Specifies the HTML attributes of a ToolBar button.

Example

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

click java.lang.String

Specifies the click handler of the button.

Example

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

command java.lang.String

Specifies the command of the button.

Example

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

enable boolean

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

Example

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

hidden boolean

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

Example

<kendo:fileManager-toolbar-item hidden="hidden">
</kendo:fileManager-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:fileManager-toolbar-item icon="icon">
</kendo:fileManager-toolbar-item>

id java.lang.String

Specifies the ID of the button.

Example

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

imageUrl java.lang.String

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

Example

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

name java.lang.String

Specifies the name of the button.

Example

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

options java.lang.String

Specifies the command options of the button.

Example

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

overflow java.lang.String

Specifies the overflow of the button.

Example

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

primary boolean

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

Example

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

showIcon java.lang.String

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

Example

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

showText java.lang.String

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

Example

<kendo:fileManager-toolbar-item showText="showText">
</kendo:fileManager-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:fileManager-toolbar-item spriteCssClass="spriteCssClass">
</kendo:fileManager-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:fileManager-toolbar-item template="template">
</kendo:fileManager-toolbar-item>

text java.lang.String

Sets the text of the button.

Example

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

togglable boolean

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

Example

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

type java.lang.String

Specifies the type of the button.

Example

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

Event Attributes

click String

Specifies the click handler of the button.

Example

<kendo:fileManager-toolbar-item click="handle_click">
</kendo:fileManager-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:fileManager-toolbar-item template="handle_template">
</kendo:fileManager-toolbar-item>
<script>
    function handle_template(e) {
        // Code to handle the template event.
    }
</script>

Event Tags

kendo:fileManager-toolbar-item-click

Specifies the click handler of the button.

Example

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

kendo:fileManager-toolbar-item-template

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

Example

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