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

Row Details

4 Answers 256 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stephane
Top achievements
Rank 1
Stephane asked on 21 Nov 2020, 01:18 PM

Hello, 

coming from WPF, I was wondering if there was any way to implement RowDetails and RowDetail templates as in the radGridView

https://docs.telerik.com/devtools/wpf/controls/radgridview/row-details/overview

 

many thanks

regards

4 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 22 Nov 2020, 09:19 AM

Hello Stephane,

The Blazor grid has the DetailTemplate which serves the same purpose: https://docs.telerik.com/blazor-ui/components/grid/hierarchy. It even provides extremely easy load on demand: https://github.com/telerik/blazor-ui/tree/master/grid/load-on-demand-hierarchy.

Alternatively, the RowClick or the item selection can let you respond to clicks on the row to do something else outside the grid:

 

Regards,
Marin Bratanov
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/.

0
Stephane
Top achievements
Rank 1
answered on 27 Nov 2020, 01:33 PM

Thank you very much, I've downloaded the repo, very useful.
A related question if I may:

I have 3 levels of hierarchy. The second is loaded on demand. The third from code because not all rows at that level have a detail and I want to expand it automatically when it exists. So I would like to get rid of the expand/collapse button at that level. Any way I could achieve that? 

0
Marin Bratanov
Telerik team
answered on 27 Nov 2020, 01:43 PM

Hi Stephane,

You can Follow the implementation of such a feature here: https://feedback.telerik.com/blazor/1430980-conditionally-hide-hierarchical-grid-expand-button. You may also want to Follow this one in case an option different than the state becomes available: https://feedback.telerik.com/blazor/1442162-expand-open-collapse-hierarchy-programmatically.

 

Regards,
Marin Bratanov
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/.

0
Stephane
Top achievements
Rank 1
answered on 27 Nov 2020, 01:54 PM
thank you so much the swift reply!
Tags
Grid
Asked by
Stephane
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Stephane
Top achievements
Rank 1
Share this question
or