I use my panel bar like this:
When I open the first item programmatically like this:
I find that the panel bar has multiple items expanded, so panelbar does not respect the expandMode.
A bug?
When I try to close all items like this:
nothing happens.
var div = $('#test-accordion');
div.kendoPanelBar(
{
expandMode: "single"
});
When I open the first item programmatically like this:
var use_animation = false;
var li = div.find('li.k-item:first');
div.data('kendoPanelBar').expand(li, use_animation).select(li);
I find that the panel bar has multiple items expanded, so panelbar does not respect the expandMode.
A bug?
When I try to close all items like this:
div.data('kendoPanelBar').collapse("*", use_animation);
nothing happens.