Once button on the form is clicked, the grid is groupped with something like:
GridGroupByExpression expression =
new
GridGroupByExpression();
expression.SelectFields.Add(
new
GridGroupByField
{
FieldName =
"orderNumber"
,
HeaderText =
"Order"
,
FormatString =
"<strong>{0}</strong>"
});
myGgrid.MasterTableView.GroupByExpressions.Add(expression);
}
That works fine, but the groups cannot be collapsed or expanded (if I set GroupsDefaultExpanded="false" and they are collapsed by default). When group expand/collapse is clicked, the gird posts back but that does not change grouping. Where would I look to fix it?