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

Aggregates and initialize from table

2 Answers 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 03 May 2015, 05:49 AM

I want to initialize my grid from an existing table AND I want to have aggregates computed for me and shown on the table as well. How can I do that? All the Demos show aggregates using a data source.

Thanks,

--John

2 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 03 May 2015, 06:07 AM

and to add some clarity, I'm looking for something that looks like this but is initialized from a table:

http://dojo.telerik.com/iMuNi

This example shows aggregates, but the grouping aggregates (which I am not interested in). I need to sum at the bottom of the grid

http://dojo.telerik.com/ERAhe/2

Thanks,

--John

0
Accepted
Boyan Dimitrov
Telerik team
answered on 05 May 2015, 02:36 PM

Hello John,

The solution for this case would be defining the grid columns in the order they appear in the HTML table and set the group footer template as shown in the columns.aggregate article. 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Share this question
or