VadoBG / DataGrid---How-to-conditionally-disable-selection-checkboxes

DataGrid - How to conditionally disable selection checkboxes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DataGrid - How to conditionally disable selection checkboxes

This example describes how to conditinally disable row selection and selection checkboxes.

We recommend handling the selectionChanged event to prevent selecting disabled checkboxes. However, the Select All checkbox will work incorrectly after that. The cause of that issue is that dxDataGrid doesn't support this scenario out-of-the-box. A workaround for this scenario is shown in this GitHub repository. In this example, a row is disabled if its Approved value is false. The limitation of this workaround is that the remoteOperations option should be false.

About

DataGrid - How to conditionally disable selection checkboxes

License:Other


Languages

Language:JavaScript 99.5%Language:TypeScript 0.2%Language:HTML 0.1%Language:C# 0.1%Language:Vue 0.1%Language:SCSS 0.0%