Skip to content

Auto select children in tree grid #8040

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

Closed
Eralmidia opened this issue Aug 24, 2020 · 7 comments · Fixed by #8772
Closed

Auto select children in tree grid #8040

Eralmidia opened this issue Aug 24, 2020 · 7 comments · Fixed by #8772
Assignees
Labels
program: igniteui project management 🧰 feature-request ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.

Comments

@Eralmidia
Copy link

Is your feature request related to a problem? Please describe.

It would be useful to have a mode for the grid, where selecting a parent would also select all children (recursively).

Describe the solution you'd like

Essentially the same request as #7344, but for tree grid instead of grouping.

@Eralmidia
Copy link
Author

@kdinev Just a quick question about this feature request. Will this be considered as a feature, and if so, is there any chance for it this year? Just wondering, since I need this for a feature in our software being released towards the end of this year. So if it won't be included, I will have to look into implementing this manually.

@kdinev kdinev assigned DiyanDimitrov and radomirchev and unassigned Lipata Sep 10, 2020
@kdinev
Copy link
Member

kdinev commented Sep 10, 2020

@Eralmidia Honestly, I thought we had cascading selection already implemented. I believe it's an important feature, so we will try to prioritize it high!

Including @DiyanDimitrov and @radomirchev.

@Eralmidia
Copy link
Author

@kdinev Brilliant, thanks a lot. I'll await further updates on this 😃

@DiyanDimitrov
Copy link
Contributor

I have updated the Tree Grid spec with the option for cascade selection.

@godly-devotion
Copy link

If anybody wants to have this behavior now, please take a look at this example:
https://stackblitz.com/edit/igxtreegrid-select-nested-children-rows-fkpouh?file=src/app/tree-grid-selection-template-numbers/tree-grid-selection-template-numbers.component.ts

@kdinev
Copy link
Member

kdinev commented Nov 14, 2020

@godly-devotion The only difference with the implementation we will push is that this doesn't have partial checkbox states on parent nodes when only part of the children are selected. Other than that it looks good!

@mmart1n mmart1n added 🛠️ status: in-development Issues and PRs with active development on them and removed 🆕 status: new labels Nov 16, 2020
@github-actions
Copy link

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Jan 16, 2021
@DiyanDimitrov DiyanDimitrov removed the status: inactive Used to stale issues and pull requests label Jan 18, 2021
@radomirchev radomirchev added program: igniteui project management ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged. and removed 🛠️ status: in-development Issues and PRs with active development on them labels Jan 26, 2021
kdinev added a commit that referenced this issue Feb 17, 2021
feat(tree-grid): add cascading row selection #8040
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
program: igniteui project management 🧰 feature-request ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Projects
None yet
8 participants