<kendo:multiSelect>

A JSP wrapper for Kendo UI MultiSelect.

Configuration Attributes

animation boolean

Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration. Further configuration is available via kendo:multiSelect-animation.

Example

<kendo:multiSelect animation="animation">
</kendo:multiSelect>

autoBind boolean

Controls whether to bind the widget to the data source on initialization.

Example

<kendo:multiSelect autoBind="autoBind">
</kendo:multiSelect>

autoClose boolean

Controls whether to close the widget suggestion list on item selection.

Example

<kendo:multiSelect autoClose="autoClose">
</kendo:multiSelect>

autoWidth boolean

If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label.

Example

<kendo:multiSelect autoWidth="autoWidth">
</kendo:multiSelect>

clearButton boolean

Unless this options is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event.

Example

<kendo:multiSelect clearButton="clearButton">
</kendo:multiSelect>

dataTextField java.lang.String

The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field.

Example

<kendo:multiSelect dataTextField="dataTextField">
</kendo:multiSelect>

dataValueField java.lang.String

The field of the data item that provides the value of the widget.

Example

<kendo:multiSelect dataValueField="dataValueField">
</kendo:multiSelect>

delay float

Specifies the delay in milliseconds after which the MultiSelect will start filtering dataSource.

Example

<kendo:multiSelect delay="delay">
</kendo:multiSelect>

enable boolean

If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.

Example

<kendo:multiSelect enable="enable">
</kendo:multiSelect>

enforceMinLength boolean

If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.

Example

<kendo:multiSelect enforceMinLength="enforceMinLength">
</kendo:multiSelect>

filter java.lang.String

The filtering method used to determine the suggestions for the current value. Filtration is turned of by default, and can be performed over string values only (either the widget's data has to be an array of strings, or over the field, configured in the dataTextField option). The supported filter values are startswith, endswith and contains.

Example

<kendo:multiSelect filter="filter">
</kendo:multiSelect>

fixedGroupTemplate java.lang.String

The template used to render the fixed header group. By default the widget displays only the value of the current group.

Example

<kendo:multiSelect fixedGroupTemplate="fixedGroupTemplate">
</kendo:multiSelect>

footerTemplate java.lang.String

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.

Example

<kendo:multiSelect footerTemplate="footerTemplate">
</kendo:multiSelect>

groupTemplate java.lang.String

The template used to render the groups. By default the widget displays only the value of the group.

Example

<kendo:multiSelect groupTemplate="groupTemplate">
</kendo:multiSelect>

headerTemplate java.lang.String

Specifies a static HTML content, which will be rendered as a header of the popup element.

Example

<kendo:multiSelect headerTemplate="headerTemplate">
</kendo:multiSelect>

height float

The height of the suggestion popup in pixels. The default value is 200 pixels.

Example

<kendo:multiSelect height="height">
</kendo:multiSelect>

highlightFirst boolean

If set to true the first suggestion will be automatically highlighted.

Example

<kendo:multiSelect highlightFirst="highlightFirst">
</kendo:multiSelect>

ignoreCase boolean

If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.

Example

<kendo:multiSelect ignoreCase="ignoreCase">
</kendo:multiSelect>

itemTemplate java.lang.String

The template used to render the items in the popup list.

Example

<kendo:multiSelect itemTemplate="itemTemplate">
</kendo:multiSelect>

maxSelectedItems float

Defines the limit of the selected items. If set to null widget will not limit number of the selected items.

Example

<kendo:multiSelect maxSelectedItems="maxSelectedItems">
</kendo:multiSelect>

minLength float

The minimum number of characters the user must type before a search is performed. Set to a higher value if the search could match a lot of items. A zero value means that a request will be made as soon as the user focuses the widget.

Example

<kendo:multiSelect minLength="minLength">
</kendo:multiSelect>

noDataTemplate java.lang.String

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

Example

<kendo:multiSelect noDataTemplate="noDataTemplate">
</kendo:multiSelect>

placeholder java.lang.String

The hint displayed by the widget when it is empty. Not set by default.

Example

<kendo:multiSelect placeholder="placeholder">
</kendo:multiSelect>

tagMode java.lang.String

The mode used to render the selected tags. The available modes are: - multiple - renders a tag for every selected value - single - renders only one tag that shows the number of the selected values

Example

<kendo:multiSelect tagMode="tagMode">
</kendo:multiSelect>

tagTemplate java.lang.String

The template used to render the tags.

Example

<kendo:multiSelect tagTemplate="tagTemplate">
</kendo:multiSelect>

value java.lang.Object

Define the value of the widget

Example

<kendo:multiSelect value="value">
</kendo:multiSelect>

valuePrimitive boolean

Specifies the value binding behavior for the widget. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.

Example

<kendo:multiSelect valuePrimitive="valuePrimitive">
</kendo:multiSelect>

virtual boolean

Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization. Further configuration is available via kendo:multiSelect-virtual.

Example

<kendo:multiSelect virtual="virtual">
</kendo:multiSelect>

Configuration JSP Tags

kendo:multiSelect-animation

Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration.

More documentation is available at kendo:multiSelect-animation.

Example

<kendo:multiSelect>
    <kendo:multiSelect-animation></kendo:multiSelect-animation>
</kendo:multiSelect>

kendo:multiSelect-popup

The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.

More documentation is available at kendo:multiSelect-popup.

Example

<kendo:multiSelect>
    <kendo:multiSelect-popup></kendo:multiSelect-popup>
</kendo:multiSelect>

kendo:multiSelect-virtual

Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.

More documentation is available at kendo:multiSelect-virtual.

Example

<kendo:multiSelect>
    <kendo:multiSelect-virtual></kendo:multiSelect-virtual>
</kendo:multiSelect>

Event Attributes

change String

Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the change event documentation.

Example

<kendo:multiSelect change="handle_change">
</kendo:multiSelect>
<script>
    function handle_change(e) {
        // Code to handle the change event.
    }
</script>

close String

Fired when the popup of the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the close event documentation.

Example

<kendo:multiSelect close="handle_close">
</kendo:multiSelect>
<script>
    function handle_close(e) {
        // Code to handle the close event.
    }
</script>

dataBound String

Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the dataBound event documentation.

Example

<kendo:multiSelect dataBound="handle_dataBound">
</kendo:multiSelect>
<script>
    function handle_dataBound(e) {
        // Code to handle the dataBound event.
    }
</script>

filtering String

Fired when the widget is about to filter the data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the filtering event documentation.

Example

<kendo:multiSelect filtering="handle_filtering">
</kendo:multiSelect>
<script>
    function handle_filtering(e) {
        // Code to handle the filtering event.
    }
</script>

open String

Fired when the popup of the widget is opened by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the open event documentation.

Example

<kendo:multiSelect open="handle_open">
</kendo:multiSelect>
<script>
    function handle_open(e) {
        // Code to handle the open event.
    }
</script>

select String

Fired when an item from the popup is selected by the user.

For additional information check the select event documentation.

Example

<kendo:multiSelect select="handle_select">
</kendo:multiSelect>
<script>
    function handle_select(e) {
        // Code to handle the select event.
    }
</script>

deselect String

Fired when an item is deselected or tag is removed.

For additional information check the deselect event documentation.

Example

<kendo:multiSelect deselect="handle_deselect">
</kendo:multiSelect>
<script>
    function handle_deselect(e) {
        // Code to handle the deselect event.
    }
</script>

Event Tags

kendo:multiSelect-change

Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the change event documentation.

Example

<kendo:multiSelect>
    <kendo:multiSelect-change>
        <script>
            function(e) {
                // Code to handle the change event.
            }
        </script>
    </kendo:multiSelect-change>
</kendo:multiSelect>

kendo:multiSelect-close

Fired when the popup of the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the close event documentation.

Example

<kendo:multiSelect>
    <kendo:multiSelect-close>
        <script>
            function(e) {
                // Code to handle the close event.
            }
        </script>
    </kendo:multiSelect-close>
</kendo:multiSelect>

kendo:multiSelect-dataBound

Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the dataBound event documentation.

Example

<kendo:multiSelect>
    <kendo:multiSelect-dataBound>
        <script>
            function(e) {
                // Code to handle the dataBound event.
            }
        </script>
    </kendo:multiSelect-dataBound>
</kendo:multiSelect>

kendo:multiSelect-filtering

Fired when the widget is about to filter the data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the filtering event documentation.

Example

<kendo:multiSelect>
    <kendo:multiSelect-filtering>
        <script>
            function(e) {
                // Code to handle the filtering event.
            }
        </script>
    </kendo:multiSelect-filtering>
</kendo:multiSelect>

kendo:multiSelect-open

Fired when the popup of the widget is opened by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the open event documentation.

Example

<kendo:multiSelect>
    <kendo:multiSelect-open>
        <script>
            function(e) {
                // Code to handle the open event.
            }
        </script>
    </kendo:multiSelect-open>
</kendo:multiSelect>

kendo:multiSelect-select

Fired when an item from the popup is selected by the user.

For additional information check the select event documentation.

Example

<kendo:multiSelect>
    <kendo:multiSelect-select>
        <script>
            function(e) {
                // Code to handle the select event.
            }
        </script>
    </kendo:multiSelect-select>
</kendo:multiSelect>

kendo:multiSelect-deselect

Fired when an item is deselected or tag is removed.

For additional information check the deselect event documentation.

Example

<kendo:multiSelect>
    <kendo:multiSelect-deselect>
        <script>
            function(e) {
                // Code to handle the deselect event.
            }
        </script>
    </kendo:multiSelect-deselect>
</kendo:multiSelect>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy