I've created a custom grid template that displays 3 columns of data (see code below). The data is then grouped by year. How can I show a total for each of these three columns in the group footer?
<telerik:GridTemplateColumn HeaderStyle-Width="246" ItemStyle-Width="246" |
UniqueName="TemplateColumn2"> |
<HeaderTemplate> |
<table ID="Table1" border="0" cellpadding="0" cellspacing="0" width="246"> |
<tr> |
<td align="center" colspan="3"> |
Remaining Reserve<BR />Open MN Claims Only</td> |
</tr> |
<tr> |
<td width="82px"> |
<center> |
Indemnity</center> |
</td> |
<td width="82px"> |
<center> |
Medical</center> |
</td> |
<td width="82px"> |
<center> |
Med Only</center> |
</td> |
</tr> |
</table> |
</HeaderTemplate> |
<ItemTemplate> |
<table ID="Table2" border="0" cellpadding="0" cellspacing="0" width="246"> |
<tr> |
<td align="right" width="82px"> |
<%#DataBinder.Eval(Container.DataItem, "open_indemnity", "{0:c}")%> |
</td> |
<td align="right" width="82px"> |
<%#DataBinder.Eval(Container.DataItem, "open_medical", "{0:c}")%> |
</td> |
<td align="right" width="82px"> |
<%#DataBinder.Eval(Container.DataItem, "open_medonly", "{0:c}")%> |
</td> |
</tr> |
</table> |
</ItemTemplate> |
<HeaderStyle Width="246px" /> |
<ItemStyle Width="78px" /> |
</telerik:GridTemplateColumn> |