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

Scroll View Custom Template Doesn't Show All Images If Total Is Not a Multiple Of itemsPerPage

1 Answer 135 Views
ScrollView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 14 Nov 2013, 09:04 PM
Hi,

I am modifying the Custom Template for the ScrollView.  I have it displaying 4 images per page just like the demo does but I have noticed that if the total number of images returned in the data set isn't divisible by 4 then the remaining images do not display.

For example, my data set has 101 entries. Images 1-100 are seen but image 101 doesn't show. I assume that this is because the template is expecting 4 records or images at a time.

How can I make sure that all my images display regardless if the total is divisible by 4 or not?


Thanks,
Eric

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 15 Nov 2013, 10:29 AM
Hi Eric,

Thank you for getting in touch with us.

The issue which you described is already fixed and the fix is available in Q3 beta release which you can download from your account. Note that displaying incomplete pages requires some additional logic in the template. You can find the relevant documentation here:

Regards,
Alexander Valchev
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
Eric
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or