Hello!
Setup:
- 2 levels of grouping using the GroupByExpressions collection of the MasterTableView within the declarative portion of a page
- MasterTableView.GroupLoadMode set to “Client”
- MasterTableView.GroupsDefaultExpanded set to “false”
When I expand any of the top/1st level groups, I am expecting that the child/2nd level groups are shown expanded/collapsed based on their Expanded property. Instead what happens is that the child/2nd level groups are all shown as expanded.
Is this behavior expected or is there a fix/workaround that you can provide?
Thanks in advance,
Brent
<
tlr:RadGrid
runat
=
"server"
ID
=
"grdDoubleGroupings"
AutoGenerateColumns
=
"true"
AllowSorting
=
"true"
OnNeedDataSource
=
"grdDoubleGroupings_NeedDataSource"
>
<
MasterTableView
GroupLoadMode
=
"Client"
AllowMultiColumnSorting
=
"true"
AllowNaturalSort
=
"false"
GroupsDefaultExpanded
=
"false"
>
<
GroupByExpressions
>
<
tlr:GridGroupByExpression
>
<
GroupByFields
>
<
tlr:GridGroupByField
FieldName
=
"Category"
/>
</
GroupByFields
>
<
SelectFields
>
<
tlr:GridGroupByField
FieldName
=
"Category"
/>
</
SelectFields
>
</
tlr:GridGroupByExpression
>
<
tlr:GridGroupByExpression
>
<
GroupByFields
>
<
tlr:GridGroupByField
FieldName
=
"Subcategory"
/>
</
GroupByFields
>
<
SelectFields
>
<
tlr:GridGroupByField
FieldName
=
"Category"
/>
<
tlr:GridGroupByField
FieldName
=
"Subcategory"
/>
</
SelectFields
>
</
tlr:GridGroupByExpression
>
</
GroupByExpressions
>
</
MasterTableView
>
</
tlr:RadGrid
>