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

Bounce scrolling for PanelBar content

2 Answers 419 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
S
Top achievements
Rank 1
S asked on 26 Jan 2013, 06:53 AM
Hello all,

   I'm trying to get a fixed size panelbar (see: http://www.kendoui.com/forums/ui/panelbar/static-sized-panelbar.aspx ) working in a more "mobile" feel. The fixed size part is working just great. But - is there a way to have the fixed size "long" content in the panelBar scroll with overshoot and bounce back like on the kendo mobile listView and other mobile widgets? Can I somehow put the content items in a scroller control? I'm not too sure how to make that work.

Cheers,
Stephen

2 Answers, 1 is accepted

Sort by
0
Accepted
Alexander Valchev
Telerik team
answered on 29 Jan 2013, 04:56 PM
Hello Stephen,

This functionality is not supported out of the box. I suggest you to try to initialize mobile scroller for each .panelBar-content element.
var panelbar = $("#panelBar").kendoPanelBar({
    expandMode: "single"
}).data("kendoPanelBar");
 
panelbar.element.find(".panelBar-content").kendoMobileScroller();

Here is an example to the updated fiddle: http://jsfiddle.net/valchev/eUjK7/37/

I hope this will help.

Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
S
Top achievements
Rank 1
answered on 30 Jan 2013, 03:06 AM
Thank you very much - that's just what I was trying to do!
Tags
PanelBar
Asked by
S
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
S
Top achievements
Rank 1
Share this question
or