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

Maintaining partial selection on parent when all chlidren are selected #1180

Open
lorenzopt opened this issue Mar 5, 2018 · 1 comment
Open

Comments

@lorenzopt
Copy link

I have a requirement that if a parents children are selected, then the parent should take the partial, '-', selection state. This partial state should apply to its ancestors as well. Is this possible with SlickGrid?

As an example, this is what I need.
parent1(-)
parent2(-)
child1(-)
child2(x)
child3(x)

What has happened here is that both child2 and child3 were selected. So their parent, parent2 should take the partial state along with its parent, parent1. This should only occur when the children are selected. When the parent is selected, all children should be selected and the parent should be fully selected (x).
Thanks

@6pac
Copy link

6pac commented Mar 6, 2018

Have a look here: 6pac/SlickGrid#165

This repo is no longer maintained.

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

No branches or pull requests

2 participants