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 Link to this post

    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.

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1481 posts

    Posted 09 Jan 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.  

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