RadGrid- Break the row into two lines

3 posts, 1 answers
  1. madhavi
    madhavi avatar
    27 posts
    Member since:
    Jul 2014

    Posted 26 Oct 2016 Link to this post

    Hi, 

       I am looking for ideas to display each row in two lines, as shown below.

      | col1  |   col 2 |  col 3  | col 5| col 6 |

      | col7  |  Edit button | Save button   |

    Please suggest for any ideas, if possible.

     

    Thank you,

    Madhavi

  2. Answer
    Eyup
    Admin
    Eyup avatar
    3286 posts

    Posted 31 Oct 2016 Link to this post

    Hello Madhavi,

    Generally, you can achieve similar requirements using templates:

    1. RadGrid DetailItemTemplate:
    http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/rows/detailitemtemplate/defaultcs.aspx

    2. RadListView grouping:
    http://demos.telerik.com/aspnet-ajax/listview/examples/datagrouping/defaultcs.aspx

    3. RadGrid NestedViewTemplate:
    http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/hierarchy-with-templates/defaultcs.aspx

    4. RadGrid GridTemplateColumn:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/columns/column-types#gridtemplatecolumn

    You can choose whichever you find for more appropriate for your specific requirement. However, please bear in mind that configuring the content of the templates and implementing the Expression logic is not related to Telerik, hence, beyond our support scope.


    Regards,
    Eyup
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
  3. madhavi
    madhavi avatar
    27 posts
    Member since:
    Jul 2014

    Posted 10 Dec 2016 in reply to Eyup Link to this post

    Thank you, I have choosed RadListView method, as the client needs to apply their own styles to the rows. 
Back to Top