Since upgrading to 2012.1.411.40 I have problem with grids that have multiple group by expressions that have a Header String which aggregates sub totals.
When the grid displays the First Header Grouping of every group level in the Grid does not display correctly. Instead of building up a dynamic string header it instead displays a non dynamic header such as 'Total Charged: {0:c2}'. Subsequent sub-grouping though work.
Here is an example of the type of Group By Expressions used;
See screenshot of issue attached.
This exact same code worked perfectly in 2011 Q3 Dll's.
Has anything changed between versions?
Cheers,
Damien.
When the grid displays the First Header Grouping of every group level in the Grid does not display correctly. Instead of building up a dynamic string header it instead displays a non dynamic header such as 'Total Charged: {0:c2}'. Subsequent sub-grouping though work.
Here is an example of the type of Group By Expressions used;
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
SelectFields
>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
FieldAlias
=
"Client"
FieldName
=
"ClientName"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
HeaderText
=
"Hrs Spent"
FieldAlias
=
"HrsSpent"
FieldName
=
"TimeSpent"
FormatString
=
"{0:N1}"
Aggregate
=
"Sum"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
HeaderText
=
"Total Charged"
FieldAlias
=
"TotalCharged"
FieldName
=
"WorksheetAmount"
FormatString
=
"{0:c2}"
Aggregate
=
"Sum"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
" "
HeaderText
=
" "
FieldAlias
=
"ClientID"
FieldName
=
"ClientID"
FormatString
=
" "
/>
</
SelectFields
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"ClientName"
SortOrder
=
"Ascending"
/>
</
GroupByFields
>
</
telerik:GridGroupByExpression
>
<
telerik:GridGroupByExpression
>
<
SelectFields
>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
FieldAlias
=
"Project"
FieldName
=
"ProjectTitle"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
HeaderText
=
"Hrs Spent"
FieldAlias
=
"HrsSpent"
FieldName
=
"TimeSpent"
FormatString
=
"{0:N1}"
Aggregate
=
"Sum"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
HeaderText
=
"Total Charged"
FieldAlias
=
"TotalCharged"
FieldName
=
"WorksheetAmount"
FormatString
=
"{0:c2}"
Aggregate
=
"Sum"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
" "
HeaderText
=
" "
FieldAlias
=
"ProjectID"
FieldName
=
"ProjectID"
FormatString
=
" "
/>
</
SelectFields
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"ProjectTitle"
SortOrder
=
"Ascending"
/>
</
GroupByFields
>
</
telerik:GridGroupByExpression
>
<
telerik:GridGroupByExpression
>
<
SelectFields
>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
FieldAlias
=
"Office"
FieldName
=
"OfficeName"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
HeaderText
=
"Hrs Spent"
FieldAlias
=
"HrsSpent"
FieldName
=
"TimeSpent"
FormatString
=
"{0:N1}"
Aggregate
=
"Sum"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
HeaderText
=
"Total Charged"
FieldAlias
=
"TotalCharged"
FieldName
=
"WorksheetAmount"
FormatString
=
"{0:c2}"
Aggregate
=
"Sum"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
" "
HeaderText
=
" "
FieldAlias
=
"OfficeID"
FieldName
=
"OfficeID"
FormatString
=
" "
/>
</
SelectFields
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"OfficeName"
SortOrder
=
"Ascending"
/>
</
GroupByFields
>
</
telerik:GridGroupByExpression
>
<
telerik:GridGroupByExpression
>
<
SelectFields
>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
FieldAlias
=
"Job"
FieldName
=
"JobTitle"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
HeaderText
=
"Hrs Spent"
FieldAlias
=
"HrsSpent"
FieldName
=
"TimeSpent"
FormatString
=
"{0:N1}"
Aggregate
=
"Sum"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
": "
HeaderText
=
"Total Charged"
FieldAlias
=
"TotalCharged"
FieldName
=
"WorksheetAmount"
FormatString
=
"{0:c2}"
Aggregate
=
"Sum"
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
" "
HeaderText
=
" "
FieldAlias
=
"ProjectID"
FieldName
=
"ProjectID"
FormatString
=
" "
/>
<
telerik:GridGroupByField
HeaderValueSeparator
=
" "
HeaderText
=
" "
FieldAlias
=
"JobID"
FieldName
=
"JobID"
FormatString
=
" "
/>
</
SelectFields
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"JobTitle"
SortOrder
=
"Ascending"
/>
</
GroupByFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
See screenshot of issue attached.
This exact same code worked perfectly in 2011 Q3 Dll's.
Has anything changed between versions?
Cheers,
Damien.