简体   繁体   English

AG-Grid服务器端分页问题

[英]AG-Grid server side paging issues

I am looking for the below two features with AG-GRID pagination. 我正在寻找AG-GRID分页的以下两个功能。 Please let me know if it is possible with this grid. 请让我知道此网格是否可行。

  1. I have successfully implemented service side pagination with AG-Grid. 我已经使用AG-Grid成功实现了服务端分页。 The pagination gives the options "First", "Previous", "Next" and "Last". 分页提供选项“第一”,“上一个”,“下一个”和“最后一个”。 Assume a situation that i am having 50 pages. 假设我有50页。 If i want to go 40th page, i will have to press the "Next" button 40 times. 如果我想进入第40页,我将不得不按“下一步”按钮40次。 This is really annoying. 真烦人。 Is there any way that we can specify the page number using the pagination option? 有什么方法可以使用分页选项指定页码?

  2. Is there any way that i can go to a particular page during run-time or during grid on ready event? 在运行时或就绪事件并发期间,我有什么办法可以进入特定页面?

gridOptions.api.paginationGoToPage(40);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM