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

Master-Detail Grid - Expand/Collapse All

1 Answer 1410 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Cristian
Top achievements
Rank 1
Cristian asked on 22 Feb 2018, 11:16 AM

I am using currently Angular 5 with Kendo UI

I have a "Master-Detail Grid" and I’m trying to expand/collapse all details rows.

It exist a standar funcionality for expand/collapse all details rows at the same time ?  (A button in kendoGridToolbarTemplate for  example)

Thanks,

 

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 22 Feb 2018, 12:59 PM
Hi Cristian,

The desired functionality can be achieved by using the expandRow() method of the Grid component. We can call this method for all rows by using some simple custom logic. Please check the following sample plunker demonstrating this approach:

https://www.telerik.com/kendo-angular-ui/components/grid/api/GridComponent/#toc-expandrow

I hope this helps.

Regards,
Svetlin
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Cristian
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or