Hello!
I'm trying to use a RadGrid with two of the columns grouped.
If I try to group the two collums day are displayed at the same level like this:
Group A Group 1
Data
Group A Group 2
Data
Group B Group 1
I would like to display the data this hierarchical way:
Group A
Group 1
Data
Group 2
Data
Group B
Group 1
Data
In this demo http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx if I drag From column I get the appearance I wish to have on my form.
My pseudo-code of what I have in the GroupBy zone:
I'm trying to use a RadGrid with two of the columns grouped.
If I try to group the two collums day are displayed at the same level like this:
Group A Group 1
Data
Group A Group 2
Data
Group B Group 1
I would like to display the data this hierarchical way:
Group A
Group 1
Data
Group 2
Data
Group B
Group 1
Data
In this demo http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/outlookstyle/defaultcs.aspx if I drag From column I get the appearance I wish to have on my form.
My pseudo-code of what I have in the GroupBy zone:
<telerik:RadGrid.....
<GroupByExpressions> <telerik:GridGroupByExpression> <SelectFields> <telerik:GridGroupByField FieldAlias="Field1" FieldName="Field1" HeaderValueSeparator=" : " SortOrder="Ascending" > </telerik:GridGroupByField> <telerik:GridGroupByField FieldAlias="Field2" FieldName="Field2" SortOrder="Ascending" FormatString="{0:D}" HeaderValueSeparator=" : "></telerik:GridGroupByField> </SelectFields> <GroupByFields> <telerik:GridGroupByField FieldName="Field1" SortOrder="Ascending"> </telerik:GridGroupByField > <telerik:GridGroupByField FieldName="Field2" SortOrder="Ascending"></telerik:GridGroupByField> </GroupByFields> </telerik:GridGroupByExpression> </GroupByExpressions>
...</telerik:RadGrid>