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

Expand all panels programmatically on click of a button

1 Answer 656 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 05 Jan 2018, 02:18 PM

Hi

I have a PanelBar within a Kendo Grid Custom Edit Popup. 

I'd like to place a button within the popup that once clicked, allows all the PanelBar sections to be opened.

Does anyone know if this is possible?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 09 Jan 2018, 09:19 AM
Hi Max,

A specific PanelBar item or all of the widget's items can be expanded by calling its expand API method. Here's a dojo example showing how all items can be expanded by calling this method with the ".k-item" class as a parameter in the click handler of a button nested in the Grid's popup editor.  

Regards,
Ivan Danchev
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
PanelBar
Asked by
Max
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or