showing and hiding radgrid rows of detail table from client side

5 posts, 0 answers
  1. Jayesh
    Jayesh avatar
    24 posts
    Member since:
    Jul 2012

    Posted 22 Jan Link to this post

    Hi,

    we have hierarchical radgrid where on expansion of main grid it expands and shows a detail table. each detail table will have multiple records of either type A or Type B. we need to show only one record of type A and one record type B on page load.

    The first column of detail table will have an expand button, on click of this it should display all type A rows from client side, and on click of that button it should hide all those rows.

     

    I don't want 3 level hierarchy. since the hidden rows and row with expand button belongs to same level

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 27 Jan Link to this post

    Hello,

    Based on the provided description it is a bit difficult to understand what the exact functionality you need to achieve is. I would suggest you to revise the help topic below that might cover your requirements:
    http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarative-relations/defaultcs.aspx




    Regards,
    Maria Ilieva
    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 Ajax is Ready for VS 2017
  4. Jayesh
    Jayesh avatar
    24 posts
    Member since:
    Jul 2012

    Posted 15 Feb in reply to Maria Ilieva Link to this post

    the requirement to achieve on click of expand button it should display what is shown on second image and on click of collapse it should display what is on first image.

     

    is there a way to identify the owner table( detail table) from javascript on click of a button on grid template column?

  5. Jayesh
    Jayesh avatar
    24 posts
    Member since:
    Jul 2012

    Posted 15 Feb Link to this post

    can some one please help. its very urgent.
  6. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 18 Feb Link to this post

    Hello,

    Based on the provided images it is still difficult to determine what your aim exactly is, but if you need to expand and collapse the hierarchy on the client you can simply use the Client HierarchyLoadMode as you can test in the previously provided online demo.

    Regards,
    Maria Ilieva
    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017