Sharepoint JS用于分页 [英] Sharepoint JS for pagination

查看:93
本文介绍了Sharepoint JS用于分页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我创建了一个显示列表记录的页面,现在我必须给出分页,请分享或建议任何JS脚本。


谢谢。





iffi

解决方案


如何使用列表视图Web部件或其他方法显示列表中的记录?


如果使用列表视图Web部件,则可以修改当前视图并设置项目限制。按批量显示指定大小的项目。





如果您使用的是内容搜索Web部件,则可以使用"List with Paging"控件显示模板来实现分页。





并且,您可以自定义分页。


这是一个关于如何使用JavaScript自定义内容搜索Web部件分页的演示:


https://newoinc.wordpress.com/2015/05/14/simple-pagination-with-the-content-search-web-part/


最好的问候,


<跨度>琳达


Hi,

I have created page which show record from list now i have to give pagination, pls share or suggest any JS script.

Thanks.


iffi

解决方案

Hi,

How do you display the record from list, using a list view web part or other method?

If you are using a list view web part, you can modify the current view and set the item limit. Display items in batches of the specified size.


If you are using a Content Search web part, you can use "List with Paging" control display template to achieve pagination.


And, you can customize the pagination.

Here is a demo about how to customize Pagination with the Content Search Web Part using JavaScript:

https://newoinc.wordpress.com/2015/05/14/simple-pagination-with-the-content-search-web-part/

Best Regards,

Linda


这篇关于Sharepoint JS用于分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆