Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Group click event when collapsing nested group contains null group ID #2877

Closed
BTMorton opened this issue Mar 18, 2017 · 3 comments
Closed

Comments

@BTMorton
Copy link
Contributor

When a group with nested groups is collapsed, the click event that is triggered does not contain the group ID, which makes tracking the toggle of nested group visibility more difficult.

Example can be seen at https://plnkr.co/edit/GdoPTGkda2w0acanUvxL?p=preview. To reproduce, hide the nested group and check printed event log.

I managed to track this down to the groupIds property of the ItemSet being empty. It's set to an empty array on line 418 of ItemSet.js in the markDirty function. I don't know if this is a requirement for something later in the process or not, so I didn't make a PR for it.

@mojoaxel
Copy link
Member

@yotamberk Bug or Feature-Request?

@yotamberk
Copy link
Contributor

I believe it's a problem but not a high priority one

@BTMorton
Copy link
Contributor Author

Fix demo here: https://plnkr.co/edit/fsYp8dujYp4WZloM17Xt?p=preview

PR incoming...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants