RadGrid, If you click the cell of grid, Another Detail-Grid should appear.

1 Answer 15 Views
Grid
anna
Top achievements
Rank 1
Bronze
Iron
anna asked on 19 Jan 2022, 03:02 PM

telerik:RadGrid ASP.NET Web is being used.

When you click a cell in the grid of A, The details should be displayed in grid of B.
===> If you click the cell of grid, Another Detail-Grid should appear.

How should I program the code?

 

Attached File : ad1.png

 

1 Answer, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 24 Jan 2022, 09:38 AM

Hi Anna,

Firstly, you can follow the instructions from the SingleCell selection article to implement the cell selection, https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/functionality/selecting/selecting-cells/single-cell

Then you can bind the data to the details Grid similarly to the Programmatic Hierarchy Binding example, see the https://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/programmatic-hierarchy/defaultcs.aspx. Instead of binding the data to the DetailTables, you will be binding it to the second Grid.

I hope this will be helpful.

Regards,
Attila Antal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
anna
Top achievements
Rank 1
Bronze
Iron
Answers by
Attila Antal
Telerik team
Share this question
or