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

Disable checkbox selection for Grid rows conditionally.

Environment

Product Version5.13.1
ProductProgress® KendoReact

Description

I want to disable the checkbox selection for specific rows based on a value in the data item

Solution

Use the cellRender of the Grid to modify the TD element for the select column when the condition for disabling the checkbox is met. Add additional logic for the "Select all" checkbox in the header to exclude the disabled items.

Following is an example with the described approach:

Example
View Source
Change Theme:

In this article

Not finding the help you need?