且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

剑道移动 - 无法刷新ModalView关闭列表视图

更新时间:2023-10-04 23:39:10

以下code应该做的伎俩。

The following code should do the trick.

 $("#applist").data("kendoMobileListView").refresh()

检查文件上刷新的更多信息: HTTP://docs.telerik。 COM /剑道的UI / API /移动/列表视图

Check documentation on refresh for further information: http://docs.telerik.com/kendo-ui/api/mobile/listview

荫不知道为什么你已经使用datasource.read()。此功能只能如果您有加载到列表视图里面的模板动态数据的项目中使用并且要删除源本身项目,以后每次读取源项目的其余部分在关闭模式view.Inorder要删除的行该行的ListView和显示器休息,与列表视图的ID只调用刷新功能就足够了。

Iam not sure why you have used datasource.read(). This function can be used only if you have dynamic data items that are loaded into a template inside the listview and you are deleting items in the source itself and reading rest of the source items after each time you close modal view.Inorder to delete row of a listview and display rest of the rows,just calling refresh function with id of the listview is enough.