Grouping twice on the same field

1 posts, 0 answers
  1. Developers
    Developers avatar
    2 posts
    Member since:
    Dec 2016

    Posted 24 Feb 2017 Link to this post

    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?

Back to Top