angular-ui/ui-grid

Tree Aggregates do not update when the model changes, however the footer does

Open

#5.579 geöffnet am 25. Juli 2016

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
good first issue

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Please take a look at the following plnkr. http://plnkr.co/edit/xrTwwyzYG3yy1RhCg1R0?p=preview

If you edit a balance value, the column footer aggregate automatically updates but the tree aggregate value does not.

Further investigation shows that the entity object is not updated but if I dig into the treeNode.aggregations array for the row, I can obtain the updated value.

The Complex tree tutorial does not cover this scenario, it would be be beneficial to show what helper methods to use to obtain these values.

Thanks for a great lib

Contributor Guide