Duplicated
Last Updated: 26 Apr 2021 18:36 by ADMIN
Marco
Created on: 25 Apr 2021 07:09
Category: Grid
Type: Bug Report
0
Manual source operations with grouping and aggregates

I'm trying manual source operations with grouping and aggregates, but I get: InvalidOperationException: No generic method 'Sum' on type 'System.Linq.Enumerable' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic

 

I've edited the sample in the docs of manual source operations with grouping and added some aggregates.

 

Since some feats with the grid are not compatible with others, it is not easy to understand what is feasible and what is not. I know from the docs that virtual scolling is not compatible with many feats, or that group load on demand is not comaptible with aggregates, but I don't found any about aggregates with manual operations.

 

 

Please find the attached demo project

Attached Files:
Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Marin Bratanov
Posted on: 26 Apr 2021 18:36

Hello Marco,

This is another manifestation of this bug you hit with expandos: https://feedback.telerik.com/blazor/1494187-grid-with-expandoobject-or-grouping-with-onread-throws-when-adding-sum-aggregate. The situation is the same - the grid is no longer "strongly typed" in both cases (it is bound to an "object" rather than a concrete type) and this bug manifests.

Let's use the original item to track its status, I've updated its title to also include the onread+grouping scenario.

Regards,
Marin Bratanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.