Scrollview Remote Datasource Paging of 1 issue

1 Answer 57 Views
ScrollView
Scott
Top achievements
Rank 1
Iron
Scott asked on 30 Nov 2022, 07:53 PM | edited on 30 Nov 2022, 08:11 PM

So I am trying to create a Scrollview from a remote datasource and put the images into a template.  I only want 1 image per "page".   The code from the following screenshots come from this dojo.

This is the template with the issue.

If you have the pageSize set to 2 or more each page shows the template as designed.

If I change that to a pageSize of 1 the template is blank.   How do I get the template to display 1 product per page?

1 Answer, 1 is accepted

Sort by
0
Accepted
Scott
Top achievements
Rank 1
Iron
answered on 30 Nov 2022, 09:08 PM
Please disregard.   Stupid mistake on my part to not realize that the for loop isn't needed.  Once I removed the for loop, it worked with 1 per page.  
Tags
ScrollView
Asked by
Scott
Top achievements
Rank 1
Iron
Answers by
Scott
Top achievements
Rank 1
Iron
Share this question
or