This is a migrated thread and some comments may be shown as answers.

access aggregate in requestEnd

1 Answer 30 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Morten
Top achievements
Rank 1
Veteran
Iron
Morten asked on 18 Jan 2017, 12:03 PM

how can I access aggregate in the requestEnd event?

 

1 Answer, 1 is accepted

Sort by
0
Eduardo Serra
Telerik team
answered on 18 Jan 2017, 06:27 PM
Hello Morten,

The aggregates are not accesible from the requestEnd event because they haven't been calculated yet. I would recommend you to access them from the DataSource's change event instead, using the aggregates method.

I prepared a sample in the Kendo UI Dojo to show how this could be done; you can take a look at it here.

I hope this helps!

Regards,
Eduardo Serra
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Data Source
Asked by
Morten
Top achievements
Rank 1
Veteran
Iron
Answers by
Eduardo Serra
Telerik team
Share this question
or