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

Aggregate Footer for Detail table

1 Answer 123 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jitendra Mandalia
Top achievements
Rank 1
Jitendra Mandalia asked on 17 Jan 2011, 09:36 PM
Dear Friends,

I am using Telerik RAD Grid for my ASP.Net site. I have master/detail table implemented with one detail table. I want to display aggregate footer with custom text (Sum of xxx column) and total of all values across all pages for detail table. I am able to achieve it partially using "Aggregate" property on each column of detail table. But with this it display "Sum" or "Count" as the footer text for each aggregate value and only aggregates values for given page. I am not able to find the ItemDataBound or such event for detail table to calculate and replace the aggregate values across the pages or not able to change the footer text for each aggregate column.

Is it possible to achieve?

I am using 2010.2.929.35 version of Telerik.Web.UI.

Appreciate your time and help.

Thanks,
Jitendra

1 Answer, 1 is accepted

Sort by
0
Jitendra Mandalia
Top achievements
Rank 1
answered on 17 Jan 2011, 10:56 PM
Dear Friends,

I could achieve the same using DetailTable's DataBind and DataBound events. In DataBind event I calculated the total across the pages and in DataBound event I assigned the same to footer item.

Thanks,
Jitendra
Tags
Grid
Asked by
Jitendra Mandalia
Top achievements
Rank 1
Answers by
Jitendra Mandalia
Top achievements
Rank 1
Share this question
or