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

Tree Group with check box selections #130

Closed
harit2101 opened this issue Jul 13, 2017 · 2 comments
Closed

Tree Group with check box selections #130

harit2101 opened this issue Jul 13, 2017 · 2 comments

Comments

@harit2101
Copy link

Hi,

My requirement is like a tree with expand, collapse and checkbox functionality.
Done with display of tree with expand and collapse functionality .
Need help in implementation of checkbox functionality so that it covers below scenarios

parent node selected then all child nodes must be selected.
2)parent node unchecked then all child nodes must be unchecked.
if parent has 3 child node, out of which 1 child node is checked and 2 are unchecked then parent node must be in intermediate state of checkbox. Like half selected.
if user manually unchecked all child node then parent node must be unchecked.
Below is tree structure

rootNode
--child1
--child2
---childOFChild2
Followed below link for tree implementation.
https://github.com/mleibman/SlickGrid/blob/gh-pages/examples/example5-collapsing.html
Any help would be GREAT..

@6pac
Copy link
Owner

6pac commented Jul 13, 2017

This example might get you started:
http://6pac.github.io/SlickGrid/examples/example-grouping-checkbox-row-select.html

I considered the intermediate checkbox state when putting the example together, but it adds a huge amount of extra work. The example as it is just sets or clears the group.

@6pac
Copy link
Owner

6pac commented Mar 23, 2018

See #165 for more details.

@6pac 6pac closed this as completed Mar 23, 2018
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