Resizing objects in panelbar cause panel height issues

5 posts, 1 answers
  1. Zack
    Zack avatar
    112 posts
    Member since:
    Jun 2012

    Posted 15 May 2012 Link to this post

    I have found that if you put a paginated grid with auto height in the panelbar, when you change pages and the grid height changes, the panelbar doesn't keep up with the grid size changes. I suppose I could maybe detect when the grid page changes and somehow refresh the panel its in to fit maybe?
  2. Answer
    Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 17 May 2012 Link to this post

    Hello Zack,

    This looks like a bug - however it only happens if the content area is initially opened. I'm noting it for fixing, meanwhile you can create the PanelBar closed and open the item after init, like this:
    $("#PanelBar").kendoPanelBar().data("kendoPanelBar").expand(">li:first");

    I'm updating your points for the find.

    Regards,
    Kamen Bundev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Zack
    Zack avatar
    112 posts
    Member since:
    Jun 2012

    Posted 24 May 2012 Link to this post

    Yes that does the trick it seems, thank you!

    At first I didn't realize you meant simply no longer use "k-state-active" class in the ul list html and just expand as needed by user or js
  5. Zack
    Zack avatar
    112 posts
    Member since:
    Jun 2012

    Posted 15 Jun 2012 Link to this post

    Sorry after more testing (not live use luckily :) I have found it is still happening for basically anytime a panel grows and shrinks because of innerhtml changes. I get mixed results so I can't give you an example that happens 100% the same but it happens a lot and in all browsers. For the time being to be able to release the program we reverted to the jqueryui accordian, which works 100% of the time with our same codebase unchanged.
  6. Chris
    Chris avatar
    66 posts
    Member since:
    Sep 2008

    Posted 25 Sep 2012 Link to this post

    After digging around and digging around, I can't figure out how to open the panel bar with all the items collapsed.

    Can you please let me know because I'm experiencing the same bug that Zack has and I'm hoping that will fix it in my case, otherwise I may need to change to jQuery UI for this too, which is not my preference...
Back to Top
Kendo UI is VS 2017 Ready