You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to display an indeterminate checkbox in the header if some, but not all rows are selected.
Proposed solution
I am using a custom Checkbox header, so for my use-case I would only need an additional property someRowsSelected: boolean; added to HeaderRendererProps so that I could determine if some, but not all, rows are selected.
The text was updated successfully, but these errors were encountered:
Added someRowsSelected property to DataGrid to determine if indeterminate
Provide someRowsSelected as a new property to HeaderRendererProps
Automatically set indeterminate property on built-in or overridden checkboxFormatter
as long as the ref exists and the ref component has a property named `indeterminate`
(e.x. input component)
Fixed typo in comment
resolvesadazzle#3058
Use case
I would like to display an indeterminate checkbox in the header if some, but not all rows are selected.
Proposed solution
I am using a custom Checkbox header, so for my use-case I would only need an additional property
someRowsSelected: boolean;
added toHeaderRendererProps
so that I could determine if some, but not all, rows are selected.The text was updated successfully, but these errors were encountered: