Expand all panels programmatically on click of a button

2 posts, 0 answers
  1. Max
    Max avatar
    5 posts
    Member since:
    May 2015

    Posted 05 Jan 2018 Link to this post


    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?


  2. Ivan Danchev
    Ivan Danchev avatar
    2184 posts

    Posted 09 Jan 2018 Link to this post

    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.  

    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.
Back to Top