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

2 posts, 0 answers
  1. Eric
    Eric avatar
    4 posts
    Member since:
    Nov 2013

    Posted 14 Nov 2013 Link to this post

    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
  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2877 posts

    Posted 15 Nov 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top