On Grid show expand button for DetailItemTemplate

1 Answer 27 Views
Top achievements
Rank 1
Kadir asked on 12 Sep 2022, 08:34 AM | edited on 14 Sep 2022, 02:23 PM


<rad:RadGrid ID="rgv" runat="server">
            <table width="100%">

So I can see the details for each row, but I want to hide them and see it when I press the expand button. But how ?

1 Answer, 1 is accepted

Sort by
Attila Antal
Telerik team
answered on 14 Sep 2022, 02:29 PM

Hi Kadir,

If you'd like to expand/collapse the template of the Items, you will need to use the NestedViewTemplate. You can see an online example at Hierarchy with Templates.

The DetailItemTemplate is fixed to the rows and is not collapsible. 

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/.

Asked by
Top achievements
Rank 1
Answers by
Attila Antal
Telerik team
Share this question