Need event that fires when collapse/expand finished

2 posts, 0 answers
  1. Sergey
    Sergey avatar
    10 posts
    Member since:
    Apr 2016

    Posted 17 Jul 2016 Link to this post


    I need to find a way to execute my code (adjust popup size) when panelbar finished to change its size.I currently use expand/collapse methods but they called before animation starts and size start changing. 


    Thank you.

  2. Dimiter Topalov
    Dimiter Topalov avatar
    1297 posts

    Posted 19 Jul 2016 Link to this post

    Hello Sergey,

    The Kendo UI PanelBar does not expose such an event, but you can configure the duration of the collapse/expand animations via the following options:

    ... and then wrap the collapse/expand event handlers' logic in a setTimeout(), passing the duration as a delay. I have prepared a simple dojo, illustrating the suggested approach:

    I hope this helps.

    Dimiter Topalov
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top