-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aggregates broken ? #5
Comments
Ok, thank you for your question, I will test it later. |
Sure : Kendo UI v2019.2.514 |
Hello, I just have updated this package, you can try it later. P.S. Notice the property "Group" of DataSourceResult has changed to "Groups". More details you can see release notes. |
Hi, I did not had the chance to test your new version until today : Using Kendo.DynamicLinqCore.2.2.2 and Kendo UI v2019.3.1023. Aggregate still does not work : var dataSource = new kendo.data.DataSource({ The request sent is : My webservice returns nothing, no error but nothing is returned at all. Definition into the webservice : Thank you. |
Hi again,
I'm trying to use aggregates with your code without success.
Using :
schema: {
model: {
fields: {
id: { type: "number" }
}
},
data: "Data",
total: "Total",
aggregates: "Aggregates",
groups: "Group",
errors: "Errors"
},
serverPaging: true,
serverSorting: true,
serverFiltering: true,
serverAggregates: true,
pageSize: 100,
aggregate: [
{ field: "id", aggregate: "count" }
]
My webservice returns nothing, no error but nothing is returned at all.
By the way, in the exemple you gave, I think your WebMethod definition should be
[WebMethod]
public static DataSourceResult Products(int take, int skip, IEnumerable sort, Filter filter, IEnumerable aggregate, IEnumerable group)
instead of
[WebMethod]
public static DataSourceResult Products(int take, int skip, IEnumerable sort, Filter filter, IEnumerable aggregates, IEnumerable group)
Thank you.
Arnaud
The text was updated successfully, but these errors were encountered: