New to KendoReactStart a free 30-day trial

Grouping

The KendoReact MultiColumnComboBox provides the option to display grouped data inside the component. The current article discusses the following MultiColumnComboBox Grouping scenarios:

Basic Usage

To configure the data grouping in the MultiColumnComboBox component you need to define the groupField and groupMode properties.

  • The groupField property sets the fields that defines the group name in each data item.
  • The groupMode property determines the way the grouped data will be rendered inside the component's popup. The available groping mode are modern and classic.

The Grouping functionality has the following specifics:

  1. MultiColumnComboBox 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 KendoReact DataQuery package.
  2. Data that can't be grouped is not visualized in the component - the MultiColumnComboBox internally filters the data items that doesn't have the field that is set as a groupField.

The following example demonstrates the modern grouping mode in action.

Change Theme
Theme
Loading ...

Grouping with Filtering

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

Change Theme
Theme
Loading ...

Grouping Customization

Using the itemRender, groupHeaderItemRender, and groupStickyHeaderItemRender of the KendoReact MultiColumnComboBox 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 MultiColumnComboBox data the way your scenario needs it.

Change Theme
Theme
Loading ...