MVVM not working with scrollview

7 posts, 0 answers
  1. Sharon
    Sharon avatar
    2 posts
    Member since:
    Aug 2013

    Posted 18 Aug 2013 Link to this post

    Hi Guys,

    Need your help. I followed the example here http://demos.kendoui.com/mobile/scrollview/index.html#/ but unable to display the data in the mvvm.
    I think i didn't setup the template the correctly? was able to setup a mvvm bind to listview successfully though.
    Thanks.

    var feedsModel= kendo.observable({
        feeds:[
    {posttitle: "title1",
    postcontent: "content1"},
    {posttitle: "title2",
    postcontent: "content2"},
    ],
        selectedpost:"none",
    });
     <div data-role="view" id="post" data-layout="post-layout" data-title="Post" data-stretch="true" data-model="feedsmodel"></div>
     <div data-role="scrollview" 
            data-source="feeds" 
            data-template="scrollview-binding-template"
            data-content-height="100%"
            data-enable-pager="false">
        </div>
    <script id="scrollview-binding-template" type="text/x-kendo-template">    <div> <p class="title">#: posttitle #</p></div></script>
  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 20 Aug 2013 Link to this post

    Hello Sharon,

    Currently the ScrollView widget cannot be bound to data via MVVM. This is a bug in the current implementation which we will log and try to fix as soon as possible.
    Please accept my apology for the inconvenience caused.

    As a small appreciation for bringing this to our attention I updated your Telerik points.

    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
  4. Sharon
    Sharon avatar
    2 posts
    Member since:
    Aug 2013

    Posted 02 Sep 2013 Link to this post

    Hi,

    Can you advise if there is a patch or updates for this?
    If yes, when?

    The scrollview is such a good ux feature where my users can swip to view each article quickly.

    Thanks
  5. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 04 Sep 2013 Link to this post

    Hello Sharon,

    I cannot commit exact date when the issue will be fixed, but the fix should be ready for the next service pack (which is scheduled for mid September) or the next official release.

    Regards,
    Alexander Valchev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Adrian
    Adrian avatar
    5 posts
    Member since:
    Jul 2013

    Posted 10 Oct 2013 Link to this post

    Hi , is this problem fixed in the latest build?
    Thanks.
  7. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 11 Oct 2013 Link to this post

    Hello Adrian,

    The fix should be ready for the official Q3 release which is scheduled for second half of November.

    Regards,
    Alexander Valchev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  8. Adrian
    Adrian avatar
    5 posts
    Member since:
    Jul 2013

    Posted 11 Oct 2013 Link to this post

    That is good news. Look forward to it :)
Back to Top
Kendo UI is VS 2017 Ready