Grouping
The Kendo UI for Vue Native MultiSelect
provides the option to display grouped data inside the component. The current article discusses the following MultiSelect Grouping scenarios:
- Basic usage of the grouping functionality
- Grouping with filtering
- Customization of the different popup elements when working with grouped data
Basic Usage
To configure the data grouping in the MultiSelect component you need to define the groupField
property. The groupField
property sets the fields that defines the group name in each data item.
The MultiSelect doesn't internally group the data passed to it. To use the component in a grouping scenario, you need to use the
groupBy
method available in the Kendo UI for Vue Native DataQuery package.
The following example demonstrates the MultiSelect
data grouping in action.
Grouping with Filtering
The following example demonstrates how to configure the MultiSelect in a Grouping + Filtering scenario.
Grouping Customization
Using the itemRender, groupHeaderItemRender, and groupStickyHeaderItemRender of the Kendo UI for Vue Native MultiSelect component we can customize its data items
, group headers
, and the 'sticky' header
that displays the top-most group that is
currently being scrolled.
By customizing the templates passed to each of the listed above properties you can modify the grouped MultiSelect data the way your scenario needs it.