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

MVVM not working with scrollview

6 Answers 122 Views
ScrollView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Sharon
Top achievements
Rank 1
Sharon asked on 18 Aug 2013, 03:17 PM
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>

6 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 20 Aug 2013, 02:58 PM
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!
0
Sharon
Top achievements
Rank 1
answered on 02 Sep 2013, 07:09 AM
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
0
Alexander Valchev
Telerik team
answered on 04 Sep 2013, 07:06 AM
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!
0
Adrian
Top achievements
Rank 1
answered on 10 Oct 2013, 02:53 PM
Hi , is this problem fixed in the latest build?
Thanks.
0
Alexander Valchev
Telerik team
answered on 11 Oct 2013, 11:22 AM
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!
0
Adrian
Top achievements
Rank 1
answered on 11 Oct 2013, 03:56 PM
That is good news. Look forward to it :)
Tags
ScrollView (Mobile)
Asked by
Sharon
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Sharon
Top achievements
Rank 1
Adrian
Top achievements
Rank 1
Share this question
or