如何更改数据表分页的起始编号? [英] How to change starting number of datatable pagination?

查看:122
本文介绍了如何更改数据表分页的起始编号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个场景,我需要显示从20开始的页码。因为我的数据更多,我只加载100个数据(每页5页)所以共20页。我添加了一个新按钮,显示下一个100个数据,页码从1开始。我希望页码从20开始。有没有办法做到这一点?



我尝试过:







我有一个场景,我需要显示从20开始的页码。因为我的数据更多我只加载100数据(每页5个)所以总共20页。我添加了一个新按钮,显示下一个100个数据,页码从1开始。我希望页码从20开始。有办法吗?

Hi,

I have got a scenario like i need to display the page number starting from 20. Because as my data is more I am loading only 100 data (5 per page) so totally 20 pages. I have added a new button which displays next 100 data and page number starts from 1. I want the page number starts from 20 . Is there is a way to do that??

What I have tried:

Hi,

I have got a scenario like i need to display the page number starting from 20. Because as my data is more I am loading only 100 data (5 per page) so totally 20 pages. I have added a new button which displays next 100 data and page number starts from 1. I want the page number starts from 20 . Is there is a way to do that??

推荐答案

查看这些样本

1. DataTables示例 - 替代分页 [ ^ ]

2. DataTables示例 - 服务器端处理 [ ^ ]

3. 有效地分析大量数据(C#)| ASP.NET站点 [ ^ ]
See these sample
1.DataTables example - Alternative pagination[^]
2.DataTables example - Server-side processing[^]
3. Efficiently Paging Through Large Amounts of Data (C#) | The ASP.NET Site[^]


这篇关于如何更改数据表分页的起始编号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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