Kendo.Mvc.UI.MultiSelect

Kendo UI MultiSelect component

Properties

AutoBind

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

AutoClose

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

AutoWidth

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

ClearButton

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.

DataTextField

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.

DataValueField

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

Delay

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

Enable

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.

EnforceMinLength

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.

FixedGroupTemplate

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

FixedGroupTemplateId

The id of the script element used for FixedGroupTemplate

FooterTemplate

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.

FooterTemplateId

The id of the script element used for FooterTemplate

GroupTemplate

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

GroupTemplateId

The id of the script element used for GroupTemplate

Height

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

HighlightFirst

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

IgnoreCase

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

MinLength

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.

MaxSelectedItems

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

NoDataTemplate

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.

NoDataTemplateId

The id of the script element used for NoDataTemplate

Placeholder

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

Popup

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

HeaderTemplate

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

HeaderTemplateId

The id of the script element used for HeaderTemplate

ItemTemplate

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

ItemTemplateId

The id of the script element used for ItemTemplate

TagTemplate

The template used to render the tags.

TagTemplateId

The id of the script element used for TagTemplate

TagMode

Represents available tag modes of MultiSelect.

ValuePrimitive

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.

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.

Filter

The filtering method used to determine the suggestions for the current value.

Methods

SerializeSettings

Serialize current instance to Dictionary