2012-12-21 31 views

回答

1

這是一個錯誤,我們固定它和修補程序將在未來的內部版本可用。

作爲一種變通方法,您可以重新設置事件上的按鈕操作(從演示採取初始化代碼):

var listview = $("#load-more").kendoMobileListView({ 
     dataSource: dataSource, 
     template: $("#load-more-template").text(), 
     loadMore: true 
    }).data("kendoMobileListView"); 

    listview._loadButton 
     .off("click.kendoMobileListView") 
     .on("touchend.kendoMobileListView click.kendoMobileListView", $.proxy(listview._nextPage, listview)); 

這將打破stopLoadMore方法,所以最好在取得更新其可用。