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

getSelectedRows cannot return selected groupHeader rows #6145

Closed
troywoy opened this issue Mar 31, 2017 · 1 comment
Closed

getSelectedRows cannot return selected groupHeader rows #6145

troywoy opened this issue Mar 31, 2017 · 1 comment

Comments

@troywoy
Copy link

troywoy commented Mar 31, 2017

Obtaining the selected rows when enableGroupHeaderSelection: true is applied will never return group rows, as seen in this plunkr. If you select row(s) and then click the console.log(...) button, it will only ever log child rows regardless of what groups you have selected.

The getSelectedRows service method acts upon grid.rows which is the flat data array, there is no treeBase traversal.

This can be associated with Issue #6126, as both relate to getSelectedRows acting upon grid.rows and nothing associated with treeBase.

@RepoCorp
Copy link

I'm experiencing the same problem described here and I can see it is solved in #6556. But then the changes introduced in that PR were reverted in b21096b.

I just need to have any information on the selected header row, or even in any of the children rows, when the user clicks in a group header row.

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