<kendo:diagram-shapeDefaults-editable-tool>

Specifies the toolbar tools. Provides all options that are supported for toolbar.items. If set to false, no edit tools will be displayed.The predefined tools are: "edit" - The selected item can be edited.; "delete" - The selected items can be deleted.; "rotateClockwise" - The selected items can be rotated clockwise. The default rotation value is 90 degrees. or "rotateAnticlockwise" - The selected items can be rotated anticlockwise. The default rotation value is 90 degrees..

Example

<kendo:diagram-shapeDefaults-editable-tools>
    <kendo:diagram-shapeDefaults-editable-tool></kendo:diagram-shapeDefaults-editable-tool>
</kendo:diagram-shapeDefaults-editable-tools>

Configuration Attributes

attributes java.lang.Object

Specifies the HTML attributes of a button.

Example

<kendo:diagram-shapeDefaults-editable-tool attributes="attributes">
</kendo:diagram-shapeDefaults-editable-tool>

click java.lang.String

Specifies the click event handler of the button. Applicable only for commands of type button and splitButton.

Example

<kendo:diagram-shapeDefaults-editable-tool click="click">
</kendo:diagram-shapeDefaults-editable-tool>

enable boolean

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

Example

<kendo:diagram-shapeDefaults-editable-tool enable="enable">
</kendo:diagram-shapeDefaults-editable-tool>

group java.lang.String

Assigns the button to a group. Applicable only for buttons with togglable set to true.

Example

<kendo:diagram-shapeDefaults-editable-tool group="group">
</kendo:diagram-shapeDefaults-editable-tool>

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:diagram-shapeDefaults-editable-tool icon="icon">
</kendo:diagram-shapeDefaults-editable-tool>

id java.lang.String

Specifies the ID of the button.

Example

<kendo:diagram-shapeDefaults-editable-tool id="id">
</kendo:diagram-shapeDefaults-editable-tool>

imageUrl java.lang.String

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

Example

<kendo:diagram-shapeDefaults-editable-tool imageUrl="imageUrl">
</kendo:diagram-shapeDefaults-editable-tool>

name java.lang.String

The name of the tool. The built-in tools are edit, delete, rotateClockwise, and rotateAnticlockwise.

Example

<kendo:diagram-shapeDefaults-editable-tool name="name">
</kendo:diagram-shapeDefaults-editable-tool>

overflow java.lang.String

Specifies how the button behaves when the ToolBar is resized. Possible values are "always", "never" or "auto" (default).

Example

<kendo:diagram-shapeDefaults-editable-tool overflow="overflow">
</kendo:diagram-shapeDefaults-editable-tool>

overflowTemplate java.lang.String

Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.

Example

<kendo:diagram-shapeDefaults-editable-tool overflowTemplate="overflowTemplate">
</kendo:diagram-shapeDefaults-editable-tool>

primary boolean

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

Example

<kendo:diagram-shapeDefaults-editable-tool primary="primary">
</kendo:diagram-shapeDefaults-editable-tool>

selected boolean

Specifies if the toggle button is initially selected. Applicable only for buttons with togglable set to true.

Example

<kendo:diagram-shapeDefaults-editable-tool selected="selected">
</kendo:diagram-shapeDefaults-editable-tool>

showIcon java.lang.String

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

Example

<kendo:diagram-shapeDefaults-editable-tool showIcon="showIcon">
</kendo:diagram-shapeDefaults-editable-tool>

showText java.lang.String

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

Example

<kendo:diagram-shapeDefaults-editable-tool showText="showText">
</kendo:diagram-shapeDefaults-editable-tool>

spriteCssClass java.lang.String

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

Example

<kendo:diagram-shapeDefaults-editable-tool spriteCssClass="spriteCssClass">
</kendo:diagram-shapeDefaults-editable-tool>

step float

The step of the rotateClockwise and rotateAnticlockwise tools. It determines the angle at which a selected shape will be rotated when one of the tools is clicked.

Example

<kendo:diagram-shapeDefaults-editable-tool step="step">
</kendo:diagram-shapeDefaults-editable-tool>

template java.lang.String

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

Example

<kendo:diagram-shapeDefaults-editable-tool template="template">
</kendo:diagram-shapeDefaults-editable-tool>

text java.lang.String

Sets the text of the button.

Example

<kendo:diagram-shapeDefaults-editable-tool text="text">
</kendo:diagram-shapeDefaults-editable-tool>

togglable boolean

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

Example

<kendo:diagram-shapeDefaults-editable-tool togglable="togglable">
</kendo:diagram-shapeDefaults-editable-tool>

toggle java.lang.String

Specifies the toggle event handler of the button. Applicable only for commands of type button and togglable set to true.

Example

<kendo:diagram-shapeDefaults-editable-tool toggle="toggle">
</kendo:diagram-shapeDefaults-editable-tool>

type java.lang.String

Specifies the command type. Supported types are "button", "splitButton", "buttonGroup", "separator".

Example

<kendo:diagram-shapeDefaults-editable-tool type="type">
</kendo:diagram-shapeDefaults-editable-tool>

url java.lang.String

Specifies the url to navigate to.

Example

<kendo:diagram-shapeDefaults-editable-tool url="url">
</kendo:diagram-shapeDefaults-editable-tool>

Configuration JSP Tags

kendo:diagram-shapeDefaults-editable-tool-buttons

Specifies the buttons of ButtonGroup.

More documentation is available at kendo:diagram-shapeDefaults-editable-tool-buttons.

Example

<kendo:diagram-shapeDefaults-editable-tool>
    <kendo:diagram-shapeDefaults-editable-tool-buttons></kendo:diagram-shapeDefaults-editable-tool-buttons>
</kendo:diagram-shapeDefaults-editable-tool>

kendo:diagram-shapeDefaults-editable-tool-menuButtons

Specifies the menu buttons of a SplitButton.

More documentation is available at kendo:diagram-shapeDefaults-editable-tool-menuButtons.

Example

<kendo:diagram-shapeDefaults-editable-tool>
    <kendo:diagram-shapeDefaults-editable-tool-menuButtons></kendo:diagram-shapeDefaults-editable-tool-menuButtons>
</kendo:diagram-shapeDefaults-editable-tool>

Event Attributes

click String

Specifies the click event handler of the button. Applicable only for commands of type button and splitButton.

Example

<kendo:diagram-shapeDefaults-editable-tool click="handle_click">
</kendo:diagram-shapeDefaults-editable-tool>
<script>
    function handle_click(e) {
        // Code to handle the click event.
    }
</script>

overflowTemplate String

Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.

Example

<kendo:diagram-shapeDefaults-editable-tool overflowTemplate="handle_overflowTemplate">
</kendo:diagram-shapeDefaults-editable-tool>
<script>
    function handle_overflowTemplate(e) {
        // Code to handle the overflowTemplate event.
    }
</script>

template String

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

Example

<kendo:diagram-shapeDefaults-editable-tool template="handle_template">
</kendo:diagram-shapeDefaults-editable-tool>
<script>
    function handle_template(e) {
        // Code to handle the template event.
    }
</script>

toggle String

Specifies the toggle event handler of the button. Applicable only for commands of type button and togglable set to true.

Example

<kendo:diagram-shapeDefaults-editable-tool toggle="handle_toggle">
</kendo:diagram-shapeDefaults-editable-tool>
<script>
    function handle_toggle(e) {
        // Code to handle the toggle event.
    }
</script>

Event Tags

kendo:diagram-shapeDefaults-editable-tool-click

Specifies the click event handler of the button. Applicable only for commands of type button and splitButton.

Example

<kendo:diagram-shapeDefaults-editable-tool>
    <kendo:diagram-shapeDefaults-editable-tool-click>
        <script>
            function(e) {
                // Code to handle the click event.
            }
        </script>
    </kendo:diagram-shapeDefaults-editable-tool-click>
</kendo:diagram-shapeDefaults-editable-tool>

kendo:diagram-shapeDefaults-editable-tool-overflowTemplate

Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.

Example

<kendo:diagram-shapeDefaults-editable-tool>
    <kendo:diagram-shapeDefaults-editable-tool-overflowTemplate>
        <script>
            function(e) {
                // Code to handle the overflowTemplate event.
            }
        </script>
    </kendo:diagram-shapeDefaults-editable-tool-overflowTemplate>
</kendo:diagram-shapeDefaults-editable-tool>

kendo:diagram-shapeDefaults-editable-tool-template

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

Example

<kendo:diagram-shapeDefaults-editable-tool>
    <kendo:diagram-shapeDefaults-editable-tool-template>
        <script>
            function(e) {
                // Code to handle the template event.
            }
        </script>
    </kendo:diagram-shapeDefaults-editable-tool-template>
</kendo:diagram-shapeDefaults-editable-tool>

kendo:diagram-shapeDefaults-editable-tool-toggle

Specifies the toggle event handler of the button. Applicable only for commands of type button and togglable set to true.

Example

<kendo:diagram-shapeDefaults-editable-tool>
    <kendo:diagram-shapeDefaults-editable-tool-toggle>
        <script>
            function(e) {
                // Code to handle the toggle event.
            }
        </script>
    </kendo:diagram-shapeDefaults-editable-tool-toggle>
</kendo:diagram-shapeDefaults-editable-tool>
In this article
Not finding the help you need?