Update group aggregate after editing

1 Answer 20 Views
Grid
horváth
Top achievements
Rank 2
Iron
Iron
horváth asked on 21 Apr 2024, 06:18 AM

Hi,

I forked this code sample based on your group aggregates sample. I added the capability to edit name and price. The question is, how should I modify the code, that if I edit the price, then after editing the group aggregates also updates?

stackblitz example

Thanks.

horváth
Top achievements
Rank 2
Iron
Iron
commented on 15 May 2024, 02:04 PM

Can you please review this?

1 Answer, 1 is accepted

Sort by
0
Martin Bechev
Telerik team
answered on 20 May 2024, 10:16 AM

Hello Hovarth,

In order to update the aggregates the developer needs to calculate them manually again after the data has been changed.

Please check the step 2 from here:

https://www.telerik.com/kendo-angular-ui/components/grid/grouping/aggregates/

Regards,
Martin Bechev
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
Grid
Asked by
horváth
Top achievements
Rank 2
Iron
Iron
Answers by
Martin Bechev
Telerik team
Share this question
or