Hi,
I've a problem with the 'pullToRefresh' feature of the mobile listview.
'item' parameter of pullParameters function is UNDEFINED. Why is this happening? Am I doing something wrong?
Thanks for help.
Bastien
I've a problem with the 'pullToRefresh' feature of the mobile listview.
$(
"#posts"
).kendoMobileListView({
pageSize: configPageSize,
dataSource: ds,
template: kendo.template($(
"#tmpl-post"
).html(), {useWithBlock:
true
}),
endlessScroll:
true
,
scrollTreshold: 30,
//treshold in pixels
appendOnRefresh:
true
,
pullToRefresh:
true
,
pullParameters:
function
(item) {
//additional parameters
return
{
since: item.CreatedOn,
page: 1
};
},
click:
function
(e) {
//writeLog($(e.target).closest('li').attr('id'));
}
});
Thanks for help.
Bastien