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

Adding data to a grid grouped by multiple columns gives unexpected result #7140

Open
5 tasks done
jeme opened this issue Mar 1, 2021 · 0 comments
Open
5 tasks done

Comments

@jeme
Copy link

jeme commented Mar 1, 2021

Please make sure each of the following is true before submitting a new issue. We are a small team with limited time and it is very difficult to manage issues if they aren't reported correctly.

  • This is a bug report, not a question on how to use the grid.
    Use Stack Overflow or Gitter for questions.
  • You have searched the open issues to see if this bug has been filed before. We don't want duplicate issues.
  • You have reviewed the tutorials and documentation to ensure you are using the grid correctly. ui-grid.info
  • You are using the latest version of the grid. Older versions are not patched or supported.
  • You have provided steps to recreate your bug. A plunkr is even better.

http://plnkr.co/edit/Hl140HS8fj2q71iz

In the example given by the Plunkr we have a grid which are grouped by two rows.
Note: The example given here is attempted to boil it down to it's essence, we do also have custom aggregators etc. But the example shows the same behavior, we also have an issue with aggregators on top of that but I think that might be linked to #4679 without having gone deep into it.

Whenever we add a new batch of rows, that is suppose to generate an entirely new group, then the grouping is messed up.
(Adding data is done by clicking the 'add data' button)

Instead of now having the groups 1 to 4, we now just have a single group (4) and the behavior under this is really odd in it self.
As a workaround I can manually clear the two groups and apply them again so I had hoped that clearing the groups and adding them again through the API would work but it doesn't appear to make a difference.

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

No branches or pull requests

2 participants