Panelbar of expandMode single allows for programmatic multiple expansion?

2 posts, 1 answers
  1. 100%
    100% avatar
    75 posts
    Member since:
    Apr 2013

    Posted 06 Mar 2014 Link to this post

    I use my panel bar like this:

    var div = $('#test-accordion');
     expandMode: "single"

    When I open the first item programmatically like this:

    var use_animation = false;
    var li = div.find('li.k-item:first');
'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:'kendoPanelBar').collapse("*", use_animation);

    nothing happens.

  2. Answer
    Alexander Popov
    Alexander Popov avatar
    1445 posts

    Posted 10 Mar 2014 Link to this post


    I tried to reproduce this behavior, but everything worked as expected on our side (see screencast). Could you please share a runnable sample where the issue is reproduced?

    Alexander Popov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top