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

[TreeView] Add indeterminateCheckboxAction prop #14979

Open
flaviendelangle opened this issue Oct 15, 2024 · 0 comments
Open

[TreeView] Add indeterminateCheckboxAction prop #14979

flaviendelangle opened this issue Oct 15, 2024 · 0 comments
Labels
component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module! new feature New feature or request

Comments

@flaviendelangle
Copy link
Member

flaviendelangle commented Oct 15, 2024

Follow up on #14899 to bring to bring #14247 to the Tree View

Here is the prop on the grid:

  /**
   * If `select`, a group header checkbox in indeterminate state (like "Select All" checkbox)
   * will select all the rows under it.
   * If `deselect`, it will deselect all the rows under it.
   * Works only if `checkboxSelection` is enabled.
   * @default "deselect"
   */
indeterminateCheckboxAction?: 'select' | 'deselect'

We should have the exact same DX on the Tree View and the doc example should be as similar as possible

Context from the Data Grid, we should make sure we follow the same path.

Search keywords:

@github-actions github-actions bot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Oct 15, 2024
@flaviendelangle flaviendelangle added new feature New feature or request component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Oct 15, 2024
@github-actions github-actions bot removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant