This example demonstrates how to implement a custom "Select All" CheckBox in a group row to select all rows in this group. This CheckBox can have three states: unchecked, checked, or undetermined (when only several of the group members are checked).
This example supports the DataGrid.remoteOperations option.
DataGrid may query all data when selecting a group row with many data records. You can use the DataGrid.selection.maxFilterLengthInRequest private option to increase this threshold but it may result in Error 400. Make sure that your server supports long URLs. Also, make sure to test maxFilterLengthInRequest after every DevExtreme upgrade since we may change this private API without notifications.
- jQuery
- Angular
- React
- Vue
The GroupSelectionBehavior class uses the customizeColumns function to specify groupCellTemplate for all columns. This template creates a CheckBox for every group row.
(you will be redirected to DevExpress.com to submit your response)