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?
4 Answers, 1 is accepted
0
Accepted
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
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!
0
Guru
Top achievements
Rank 2
answered on 24 May 2012, 04:30 PM
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
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
0
Guru
Top achievements
Rank 2
answered on 15 Jun 2012, 08:04 PM
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.
0
Chris
Top achievements
Rank 1
answered on 25 Sep 2012, 01:59 PM
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...
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...