Dynamically changing detail row

2 posts, 0 answers
  1. Gareth
    Gareth avatar
    3 posts
    Member since:
    Mar 2015

    Posted 24 Nov 2015 Link to this post

    Hi,

    We are using a detail row on one of our grids, but have noticed that there are a couple of issues with the way we have done it and I am wondering if there is a way to do the following:

     1. When we re-order the columns on the main grid, re-order the same columns on the detail row.

     2. When we re-size the columns on the main grid, re-size them on the detail row.

     The problem is that we have hard coded the order currently, but are allowing the user the ability to re-order, thus presenting us with the issues above.

    Is there an easy way of achieving the above, or will it be a case of manually manipulating them both with javascript?

    Cheers,

    Gareth

  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2284 posts

    Posted 26 Nov 2015 Link to this post

    Hello Gareth,

     

    Both Grids are totally disconnected from each other. Reordering of column in master will not reorder columns in the detail template.

     

    You can handle columnReorder event on the master and reorder column on detail.

     

    For re-sizing however there isn't API. Column size can only be changed by user interaction by enabling resizable option.

     

    Regards,
    Nikolay Rusev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top