angular-ui/ui-grid

gridApi.grouping.getGrouping().grouping causes never ending loop

Open

#4,736 opened on Nov 19, 2015

View on GitHub
 (0 comments) (0 reactions) (1 assignee)JavaScript (5,395 stars) (2,496 forks)batch import
help wantedseverity: performance

Description

Using the gridApi.grouping.getGrouping().grouping call in an ng-repeat to dispay a list of grouped columns causes a never ending loop. Any columns that are grouped will continue to repeat indefinitely. I have created a plunker to illustrated the issue. Group by any column in the plunker below to demonstrate the issue:

http://plnkr.co/edit/5AxA1Z9sJ3Urtq4ed7QJ?p=preview

Contributor guide