This is a migrated thread and some comments may be shown as answers.

showing and hiding radgrid rows of detail table from client side

4 Answers 350 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jayesh
Top achievements
Rank 1
Jayesh asked on 22 Jan 2016, 03:15 PM

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

4 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 27 Jan 2016, 12:59 PM
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
0
Jayesh
Top achievements
Rank 1
answered on 15 Feb 2016, 02:41 PM

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?

0
Jayesh
Top achievements
Rank 1
answered on 16 Feb 2016, 05:38 AM
can some one please help. its very urgent.
0
Maria Ilieva
Telerik team
answered on 18 Feb 2016, 03:40 PM
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
Tags
Grid
Asked by
Jayesh
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Jayesh
Top achievements
Rank 1
Share this question
or