panelBar.expand(panelToExpand, animate, expanded) callback for event animation completion

4 posts, 1 answers
  1. Jacques
    Jacques avatar
    135 posts
    Member since:
    Jun 2007

    Posted 05 Nov 2013 Link to this post

    Does the panel bar have any callback method to indicate that the expand/collapse animation has completed? 
  2. Answer
    Jacques
    Jacques avatar
    135 posts
    Member since:
    Jun 2007

    Posted 05 Nov 2013 Link to this post

    Ah found it: 
    $('#strategyPanels')kendoPanelBar({
        expand: function (e) {
            //write code here
        }
    });
  3. Kendo UI is VS 2017 Ready
  4. marco
    marco avatar
    17 posts
    Member since:
    Apr 2013

    Posted 11 Dec 2013 Link to this post

    Hi,
    did you ever experience the fact that sometimes, typically the first time I use the control the event expand is not fired ?
    I mean the panelbar correctly expands but the function attached as handler to the event is not called ? 
    Initialization seem to end correctly.
    Thanks for any hint, or conditions that influence the issue of the event ?

    best regards

    Marco
  5. Jacques
    Jacques avatar
    135 posts
    Member since:
    Jun 2007

    Posted 18 Dec 2013 Link to this post

    Hi Marco,

    Sorry can't say that I've experienced that before.
    The only thing I can think of off the top of my head is whether or not you've set the default panel by using either JS or by applying the relevant CSS class to the HTML element?

    Regards,
    Jacques
Back to Top
Kendo UI is VS 2017 Ready