Skip to content

DevExpress-Examples/devextreme-datagrid-disable-selecting-certain-rows

Repository files navigation

DataGrid for DevExtreme - How to prevent/disable selection of specific rows

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.

The first row is disabled

Specify the following properties to implement the technique:

  1. Implement the onEditorPreparing event handler to display disabled selection checkboxes.
  2. 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

Documentation

More Examples

About

This example demonstrates how to disable selection in certain rows in multiple record selection mode.

Resources

License

Stars

Watchers

Forks