# Grouping

The Kendo UI for Vue DropDownList provides the option to display grouped data inside the component. The current article discusses the following DropDownList Grouping scenarios:

* [Basic usage of the grouping functionality](https://www.telerik.com/kendo-vue-ui/components/dropdowns/dropdownlist/grouping#basic-usage)
* [Grouping with filtering](https://www.telerik.com/kendo-vue-ui/components/dropdowns/dropdownlist/grouping#grouping-with-filtering)
* [Customization of the different popup elements when working with grouped data](https://www.telerik.com/kendo-vue-ui/components/dropdowns/dropdownlist/grouping#grouping-customization)

## Basic Usage

To configure the data grouping in the DropDownList component you need to define the [`groupField`](https://www.telerik.com/kendo-vue-ui/components/dropdowns/api/dropdownlistprops#groupfield)property. The `groupField` property sets the field that defines the group name in each data item.

> The DropDownList 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 DataQuery package.

The following example demonstrates the `DropDownList` data grouping in action.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/dropdowns/dropdownlist/grouping/basic/source.txt)

## Grouping with Filtering

The following example demonstrates how to configure the DropDownList in a Grouping + Filtering scenario.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/dropdowns/dropdownlist/grouping/filtering/source.txt)

## Grouping Customization

Using the [itemRender](https://www.telerik.com/kendo-vue-ui/components/dropdowns/api/dropdownlistprops#itemrender), [groupHeaderItemRender](https://www.telerik.com/kendo-vue-ui/components/dropdowns/api/dropdownlistprops#groupheaderitemrender), and [groupStickyHeaderItemRender](https://www.telerik.com/kendo-vue-ui/components/dropdowns/api/dropdownlistprops#groupstickyheaderitemrender) of the Kendo UI for Vue DropDownList 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 DropDownList data the way your scenario needs it.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/dropdowns/dropdownlist/grouping/custom/source.txt)

## Suggested Links

* [API Reference of the DropDownListProps](https://www.telerik.com/kendo-vue-ui/components/dropdowns/api/dropdownlistprops)
