How do I set the page size on the listview for MVVM? the source for the listview and pager is just an array on the model.
2 Answers, 1 is accepted
0
Alexander Valchev
Telerik team
answered on 11 Feb 2013, 04:41 PM
Hi Steve,
Paging is feature of the DataSource. Generally speaking you can set it in this way:
data-source='{ "pageSize": 3 }'
However you will not be able to navigate between the pages out of the box. To do that you may hook up to the change event of the pager and manually switch its page.
onChange: function (e) {
var listview = $("#listview").data("kendoListView");