This is a migrated thread and some comments may be shown as answers.

Grouping twice on the same field

0 Answers 35 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Developers
Top achievements
Rank 1
Developers asked on 24 Feb 2017, 08:11 PM

Hello,

I was wondering if it was possible to group on the same field twice.  For instance:

<DataGroups>
   <telerik:ListViewDataGroup GroupField="GroupNumber" DataGroupPlaceholderID="GroupPlaceHolder1" SortOrder="Ascending">
        <DataGroupTemplate>
            <div class="row-group-heading"><%#(Container as RadListViewDataGroupItem).DataGroupKey %>
            <asp:PlaceHolder runat="server" ID="GroupPlaceHolder2"></asp:PlaceHolder>
        </DataGroupTemplate>
    </telerik:ListViewDataGroup>
 
    <telerik:ListViewDataGroup GroupField="GroupNumber" DataGroupPlaceholderID="GroupPlaceHolder2" SortOrder="Ascending">
        <DataGroupTemplate>
            <div class="row-group-heading"><%#(Container as RadListViewDataGroupItem).DataGroupKey %></div>
            <asp:PlaceHolder runat="server" ID="ItemPlaceHolder"></asp:PlaceHolder>
        </DataGroupTemplate>
    </telerik:ListViewDataGroup>
</DataGroups>

 

If not is there a work around?

No answers yet. Maybe you can help?

Tags
ListView
Asked by
Developers
Top achievements
Rank 1
Share this question
or