The new Group Header Templates functionality in Q3 2011 appears to have broken some of the functionality which worked before. I define my groupinsettings server-side as such:
In q2 it looked like the attached q2.jpg. In Q3 it look slike the attached q3.jpg. There is no difference in code.
Dim
fId
As
New
GridGroupByField
fId.FieldName =
"ID"
fId.Aggregate = GridAggregateFunction.Count
fId.FormatString =
"({0})"
fId.HeaderValueSeparator =
" "
fId.HeaderText =
" "
Dim
expr
As
New
GridGroupByExpression
Dim
fState
As
New
GridGroupByField
fState.FieldAlias =
"State"
fState.FieldName =
"GroupState"
fState.FormatString =
"{0}"
expr.SelectFields.Add(fState)
expr.SelectFields.Add(fId)
Dim
fGroupState
As
New
GridGroupByField
fGroupState.FieldName =
"GroupState"
expr.GroupByFields.Add(fGroupState)
MyGrid.MasterTableView.GroupByExpressions.Add(expr)
In q2 it looked like the attached q2.jpg. In Q3 it look slike the attached q3.jpg. There is no difference in code.