Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add indeterminate state of header checkbox #3114

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paustint
Copy link

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

resolves #3058

Note: the built-in custom select checkbox does have the indeterminate property set, but there are no active styles for this state.

Here are screenshots of the outcome of this feature:

image

image

image

image

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

resolves adazzle#3058
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support indeterminate header level checkbox
1 participant