I'm trying to add totals to the headers of my grouping columns but can't figure out how to do it. As you can see from the image I attached I need to see the total ticket count for each region before or after it has been expanded and I need to same logic applied to the second grouping by client as well. Is this something that can be done or do I need to use detail grids here?
<
telerik:RadGrid
ID
=
"rg1"
runat
=
"server"
DataSourceID
=
"dsPriority1"
Skin
=
"Web20"
AllowAutomaticUpdates
=
"false"
AllowAutomaticDeletes
=
"true"
AutoGenerateColumns
=
"false"
AllowSorting
=
"true"
AllowPaging
=
"false"
ShowFooter
=
"true"
PageSize
=
"50"
PagerStyle-Position
=
"TopAndBottom"
>
<
MasterTableView
ShowGroupFooter
=
"true"
GroupsDefaultExpanded
=
"false"
HeaderStyle-BackColor
=
"#7FA5D7"
ItemStyle-BackColor
=
"#B0C4DE"
AlternatingItemStyle-BackColor
=
"White"
FooterStyle-Font-Bold
=
"true"
>
<
Columns
>
<
telerik:GridBoundColumn
HeaderText
=
"Region"
DataField
=
"Region"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Client"
DataField
=
"ClientName"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Ticket #"
DataField
=
"TicketNumber"
Aggregate
=
"Count"
>
</
telerik:GridBoundColumn
>
</
Columns
>
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"Region"
/>
</
GroupByFields
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldName
=
"Region"
HeaderText
=
"Region"
SortOrder
=
"Ascending"
/>
</
SelectFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"ClientName"
/>
</
GroupByFields
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldName
=
"ClientName"
HeaderText
=
"Client"
SortOrder
=
"Ascending"
/>
</
SelectFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
</
MasterTableView
>
</
telerik:RadGrid
>