Databound ScrollView inside an Scroller

2 posts, 0 answers
  1. Oscar
    Oscar avatar
    185 posts
    Member since:
    Oct 2010

    Posted 02 Oct 2013 Link to this post

    Looks like there is some bug when you have a databound scrollview inside an scroller element, you cannot scroll between views and data is not shown correctly.

    Am I doing something wrong?
    If not, does someone know any fix that could be used right now?

    I cannot put the scrollview as the first child element of the mobile view, as the listview may have other fields and the user would need to scroll to see them.
  2. Alexander Valchev
    Alexander Valchev avatar
    2895 posts

    Posted 04 Oct 2013 Link to this post

    Hello Oscar,

    The example is not working because widget is not initialized at the correct time. Kendo Mobile widgets should be initialized at the init event of the corresponding View or via data attributes in the HTML mark-up.

    Executing $('#placeholder').kendoMobileScrollView({ ... }) at the init event fixes the scrolling issue.
    On a side note, please note that your dataSource is not configured property so the page virtualization might not work as expected. Data is not passed in pages, page size is too small.

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top