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

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

3 Answers 18 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Jacques
Top achievements
Rank 2
Jacques asked on 05 Nov 2013, 08:02 AM
Does the panel bar have any callback method to indicate that the expand/collapse animation has completed? 

3 Answers, 1 is accepted

Sort by
0
Accepted
Jacques
Top achievements
Rank 2
answered on 05 Nov 2013, 08:07 AM
Ah found it: 
$('#strategyPanels')kendoPanelBar({
    expand: function (e) {
        //write code here
    }
});
0
marco
Top achievements
Rank 1
answered on 11 Dec 2013, 01:22 PM
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
0
Jacques
Top achievements
Rank 2
answered on 18 Dec 2013, 12:42 PM
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
Tags
PanelBar
Asked by
Jacques
Top achievements
Rank 2
Answers by
Jacques
Top achievements
Rank 2
marco
Top achievements
Rank 1
Share this question
or