• What is KendoReact
  • Getting Started
  • Server Components
  • Components
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

How to use checkbox selection in the Grid with enabled grouping

Environment

Product Version5.9.0
ProductProgress® KendoReact

Description

I want to use the checkbox selection in a Grid with enabled grouping.

Solution

When a group expression is applied to the Grid's data, the parent items in the data will be group items, so the logic for setting the select field value and the logic for determining the state of the "Select all" checkbox in the header must be different than the logic used without grouping.

Following is an example demonstrating this approach:

Example
View Source
Change Theme:

In this article

Not finding the help you need?