selection aggregates with grouping enabled

1 Answer 21 Views
Grid
Kaustubh
Top achievements
Rank 1
Kaustubh asked on 19 Feb 2024, 07:27 PM

Hi Team,

I am trying to implement cell selection aggregates in my grids, similar to examples shown here :https://www.telerik.com/kendo-angular-ui/components/grid/selection/aggregates/

Looks like the aggregates does not get calculated correctly when grouping is done on the grid. Is this a limitation or am I missing something.

Appreciate your help.

Kaustubh

1 Answer, 1 is accepted

Sort by
0
Martin Bechev
Telerik team
answered on 22 Feb 2024, 09:59 AM

Hi Kaustubh,

I tested the selection aggregates example with the grouping feature, but it looks like the values are aggregated correctly.

Please check the following demo:

https://stackblitz.com/edit/angular-ygxfpt?file=src%2Fapp%2Fapp.component.ts

Please could you take a look and let me know if I am missing something.Thank you in advance.

Regards,
Martin
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
Kaustubh
Top achievements
Rank 1
commented on 28 Mar 2024, 07:05 PM

Hi Martin,

Thanks for your reply, I was later able to figure out the issue, but we are still blocked.

If we bind the grid to data of type GridDataResult, then the section doesn't work. I noticed that in all the kendo examples you are binding to an array directly which is not our case. We have get data from api call and our grids have pagination as well.

Can you please give me an example where you are able to select cells where pagination is also available in the grid and the grid is bound to an object of type GridDataResult.

Really appreciate your help.

Kaustubh

Martin Bechev
Telerik team
commented on 02 Apr 2024, 10:39 AM | edited

Hi Kaustubh,

Thank you for the provided feedback.

I checked the Grid in such a configuration and indeed you are right - the selection aggregate of the Grid doesn't work when binding GridDataResult object.

This is a bug on our side which is why I logged an issue in our GitHub issue tracker here:

https://github.com/telerik/kendo-angular/issues/4265

I updated your Telerik points as a token of gratitude for pointing our attention to this.

Please subscribe for the issue to be notified in a timely manner when there is any status update.

Accept our apologies for the caused inconvenience.

Tags
Grid
Asked by
Kaustubh
Top achievements
Rank 1
Answers by
Martin Bechev
Telerik team
Share this question
or