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

Showing gallery in scroll view

1 Answer 289 Views
ScrollView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Huw Lloyd
Top achievements
Rank 1
Huw Lloyd asked on 05 May 2014, 05:03 AM
I have the following that works fine to show a series of images I have stored on AWS using a list view

<div id="reports-detail-images-view" data-role="view" data-title="Report Images"
    data-layout="back-layout" data-show="Schoofo.reportsDetailImagesView.show">
    <div data-role="listview" data-source="Schoofo.reportsDetailImagesView.listData"
        data-template="reports-detail-images-binding-template">
    </div>
</div>
</div>
<script id="reports-detail-images-binding-template" type="text/x-kendo-template">
 <img style="max-width: 100%; max-height: 100%;" src='https://schoofofile.s3.amazonaws.com/#: FileKey #'></div>
</script>

I am trying to get this working using the scroll view - thought it would be a simple case of changing the data-role to "scrollview" but I get nothing 

What am I missing??

Many thanks in advance

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 05 May 2014, 12:08 PM
Hello Huw,

please take a look at this scrollview gallery implementation and compare it with yours. Most probably your datasource configuration is missing paging or total settings. 

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