Is it possible to break rows into columns?

4 posts, 0 answers
  1. Karen
    Karen avatar
    27 posts
    Member since:
    Jul 2008

    Posted 08 Jan 2009 Link to this post

    I wonder if RadGrid has possibility to easily break rows into columns, what I mean by that is presented below

    Standard rad grid shows data as

    Name1   Number1
    ----------------------
    Name2   Number2
    ----------------------
    Name3   Number3
    ----------------------
    Name4   Number4
    ----------------------
    Name5   Number5
    ----------------------
    Name6   Number6 






    What I want is...


    Name1   Number1   |   Name4   Number4  
    ---------------------------------------------------
    Name2   Number2   |   Name5   Number5
    ---------------------------------------------------  
    Name3   Number3   |   Name6   Number6 
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 09 Jan 2009 Link to this post

    Hi Karen,

    Please check this demo:
    http://demos.telerik.com/aspnet-ajax/Grid/Examples/Programming/Pivot/DefaultCS.aspx

    Kind regards,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Karen
    Karen avatar
    27 posts
    Member since:
    Jul 2008

    Posted 12 Jan 2009 Link to this post

    Thanks for reply, but that is not what I am looking for, the issue is to show data as it does in DataList when, let's say RepeatColumns attribute is set...

    <asp:DataList ID="MyDataList" Width="500" RepeatColumns="3"
    </asp:DataList> 

    I'd use DataList instead, but I also need a paging which is not supported in DataList

    Thanks
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 13 Jan 2009 Link to this post

    Hi Karen,

    Then you may consider the following approach to simulate DataList-view presentation and take advantage of the built-in grid features like sorting/paging/filtering/etc.:

    http://demos.telerik.com/aspnet-ajax/Grid/Examples/Programming/ListView/DefaultCS.aspx

    Best regards,
    Sebastian
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top