MultiSelectTagHelper

Example

Razor
<kendo-multiselect>
    <datasource></datasource>
    <fixed-group-template></fixed-group-template>
    <footer-template></footer-template>
    <group-template></group-template>
    <header-template></header-template>
    <item-template></item-template>
    <label />
    <messages />
    <no-data-template></no-data-template>
    <popup></popup>
    <popup-animation></popup-animation>
    <prefix-options></prefix-options>
    <suffix-options></suffix-options>
    <virtual />
</kendo-multiselect>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
adaptive-modeAdaptiveModeSpecifies the adaptive rendering of the component.
as-moduleBoolean
auto-bindBooleanControls whether to bind the widget to the data source on initialization.
auto-closeBooleanControls whether to close the widget suggestion list on item selection.
auto-widthBooleanIf set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label.
bind-toIEnumerable<Object>The collection of data items which the data source contains.
clear-buttonBooleanUnless 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.
datasource-idStringThe data source id
data-text-fieldStringThe field of the data item used when searching for suggestions. This is the text that will be displayed in the list of matched results.
data-value-fieldStringThe field of the data item used when searching for suggestions. This is the value that will be displayed in the list of matched results.
delayDoubleSpecifies the delay in milliseconds after which the MultiSelect will start filtering dataSource.
down-arrowBooleanConfigures MultiSelect to render a down arrow that opens and closes its popup.
enableBooleanIf set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
enforce-min-lengthBooleanIf 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.
fill-modeFillModeSets a value controlling how the color is applied.
filterFilterTypeThe filtering method used to determine the suggestions for the current value.
fixed-group-templateStringThe template used to render the fixed header group. By default the widget displays only the value of the current group.
fixed-group-template-handlerStringThe template used to render the fixed header group. By default the widget displays only the value of the current group.
fixed-group-template-idStringThe template used to render the fixed header group. By default the widget displays only the value of the current group.
fixed-group-template-viewIHtmlContentThe template used to render the fixed header group. By default the widget displays only the value of the current group.
footer-templateStringThe 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.
footer-template-handlerStringThe 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.
footer-template-idStringThe 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.
footer-template-viewIHtmlContentThe 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.
forModelExpressionAn expression to be evaluated against the current model.
group-templateStringThe template used to render the groups. By default the widget displays only the value of the group.
group-template-handlerStringThe template used to render the groups. By default the widget displays only the value of the group.
group-template-idStringThe template used to render the groups. By default the widget displays only the value of the group.
group-template-viewIHtmlContentThe template used to render the groups. By default the widget displays only the value of the group.
has-client-componentBoolean
header-template-idStringSpecifies a static HTML content, which will be rendered as a header of the popup element.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
heightDoubleThe height of the suggestion popup in pixels. The default value is 200 pixels.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
header-templateStringSpecifies a static HTML content, which will be rendered as a header of the popup element.
header-template-handlerStringSpecifies a static HTML content, which will be rendered as a header of the popup element.
header-template-viewIHtmlContentSpecifies a static HTML content, which will be rendered as a header of the popup element.
highlight-firstBooleanIf set to true the first suggestion will be automatically highlighted.
ignore-caseBooleanIf set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.
input-modeStringSpecifies the inputmode attribute of the inner <input /> element. It is used to specify the type of on-screen keyboard that should be displayed when the user focuses the input.
item-templateStringThe template used to render the items in the popup list.
item-template-handlerStringThe template used to render the items in the popup list.
item-template-idStringThe template used to render the items in the popup list.
item-template-viewIHtmlContentThe template used to render the items in the popup list.
max-selected-itemsDoubleDefines the limit of the selected items. If set to null widget will not limit number of the selected items.
min-lengthDoubleThe 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.
no-data-templateStringThe 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.
no-data-template-handlerStringThe 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.
no-data-template-idStringThe 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.
no-data-template-viewIHtmlContentThe 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.
on-changeStringFired 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.
on-closeStringFired 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.
on-data-boundStringFired 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.
on-deselectStringFired when an item is deselected or tag is removed.
on-filteringStringFired 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.
on-openStringFired 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.
on-selectStringFired when an item from the popup is selected by the user.
placeholderStringThe hint displayed by the widget when it is empty. Not set by default.
roundedRoundedSets a value controlling the border radius.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
sizeComponentSizeSets the size of the component.
tag-modeStringThe 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
tag-templateStringThe template used to render the tags.
tag-template-handlerStringThe template used to render the tags.
tag-template-idStringThe template used to render the tags.
tag-template-viewIHtmlContentThe template used to render the tags.
valueIEnumerableSpecifies 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.
value-primitiveBooleanSpecifies 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.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support