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

Scrolling a ListView independant of the rest of a view

1 Answer 44 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Marlon
Top achievements
Rank 1
Marlon asked on 18 Jul 2013, 02:57 PM
Hello I just downloaded Kendo UI yesterday and I'm evaluating for a PhoneGap app that I'm working on. We have a few views that require a listview that is scrollable independent from the rest of the view (this is a view for tablets). Unfortunately I don't think the splitview would work for us because we also need a footer across the entire app that holds a tab bar. I tried to wrap the listview in a scroller and the listview did hide it's overflow but the list wasn't scrollable. What is the best practice for setting this up?

I have to say I'm pretty impressed so far with the performance and ease of use of the framework. After months of struggling with JQM, I almost wept when I read through the 'layout' API and got a chance to drop a drawer in my app... Almost. I also have one suggestion. I would love to see more information on structuring an app properly. I've just started with requirejs and it seems to be great at pulling the logic into maintainable chunks. More 'best practice' stuff would be incredibly beneficial for intermediate level users that want to make good decisions the first time through.


1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 19 Jul 2013, 07:32 AM
Hi Marlon,

In general, wrapping the listview in a scroller is the way to go. I prepared a small example, which showcases this. Please let me know if you need any more help with this. 

As per your second question - we have published several sample applications which showcase some of the recommended practices (like MVVM usage, require.js, etc). However, I do not think that there is a one-size-fits-all solution here, as our customers expertise, requirements and preferences vary greatly. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ListView (Mobile)
Asked by
Marlon
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or