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

Expand Grouped Row with One Item #63

Closed
ChrisHuston opened this issue Dec 20, 2012 · 3 comments
Closed

Expand Grouped Row with One Item #63

ChrisHuston opened this issue Dec 20, 2012 · 3 comments

Comments

@ChrisHuston
Copy link

With Angular 1.0.3, when there are groups with an odd number of items (1, 3, 5, etc.) and the group is not the last group, expanding the group will display only the last group.

Removing:

ng-class-odd="row.alternatingRowClass()" ng-class-even="row.alternatingRowClass()"

from ng.defaultGridTemplate fixes the problem, but also removes alternating row formatting.

@jonricaurte
Copy link
Contributor

We are aware of the issue and have filed a bug with the angular team:

#47

@orneryd
Copy link
Contributor

orneryd commented Dec 20, 2012

I added a workaround for the 1.0.3 bug. the source is checked in but we want to fix a few more things before declaring another release. So, if you want to use it right away you need to build it locally.

@orneryd orneryd closed this as completed Dec 20, 2012
@ChrisHuston
Copy link
Author

Thanks for the workaround and thanks for the amazing ng-grid.

I also found a workaround, but in the Angular 1.0.3 code. You can see it here:
angular/angular.js#1638

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

3 participants