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

ui-grid-selection and ui-grid-tree-view in 4.2.4 #6579

Closed
geraldpereira opened this issue Feb 19, 2018 · 4 comments
Closed

ui-grid-selection and ui-grid-tree-view in 4.2.4 #6579

geraldpereira opened this issue Feb 19, 2018 · 4 comments

Comments

@geraldpereira
Copy link

geraldpereira commented Feb 19, 2018

I recently upgraded from 4.1.3 to 4.2.4 and noticed a change in the selection behavior when using a tree.

I created two plunker to explain this:

I want to select the second row (named Nieves Mack, $$treeLevel set to 1, the child node of the first tree node). In the previous version, it was selected as expected. Now when I select the second row, its parent node in the tree is selected.

Is this a bug or a change in the API?

@geraldpereira geraldpereira changed the title ui-grid-selection ui-grid-tree-view in 4.2.4 ui-grid-selection and ui-grid-tree-view in 4.2.4 Feb 19, 2018
@rolsson
Copy link

rolsson commented Feb 22, 2018

This change (regression?) seems to have been introduced in the 4.2.3 version.

@mportuga
Copy link
Member

This was a change meant to address a number of logged issues.

See the following commit:
f3d2a7f

And the following bugs:
fix #3911, fix #6126, fix #6145, fix #6263, fix #6398

@geraldpereira
Copy link
Author

@mportuga so I cannot select the first and only child without also selecting the parent node? Or is there an option to activate in the grid options?

If I activate the multiselect: true, when I click on the child node, the parent is also selected. I can then click on the parent node to only have the child selected.

If the multiselect option is set to false, the child node cannot be selected at all!

@nickxbs
Copy link

nickxbs commented Mar 9, 2018

Hi, i agree with @geraldpereira, i have the same problem. In a treeview with multiselect: false is impossible to select child node.

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

4 participants