DataGrid for DevExtreme - How to prevent/disable selection of specific rows
May 30, 2026 ยท View on GitHub
This example demonstrates how to disable selection in certain rows in multiple record selection mode. In this example, a row is disabled if its approved value is false.

Specify the following properties to implement the technique:
- Implement the onEditorPreparing event handler to display disabled selection checkboxes.
- Implement the onSelectionChanged event handler. In this handler, specify the checkboxes that need to stay disabled after a user toggles the Select All checkbox.
Note that you need to set the remoteOperations to false for this example to work.
Files to Review
- jQuery
- Angular
- Vue
- React
- ASP.NET Core
Documentation
More Examples
Does This Example Address Your Development Requirements/Objectives?
(you will be redirected to DevExpress.com to submit your response)