platform icon indicating copy to clipboard operation
platform copied to clipboard

The paging component does't have the way to toggle per-page and enter a page number for quick jumping.

Open zyz954489346 opened this issue 2 months ago • 3 comments

The current paging control only supports up and down page switching, which is too simple to cope with the scenario of more data, and urgently needs to be upgraded to support more functions. Need the way to toggle per-page and enter a page number for quick jumping

zyz954489346 avatar Oct 31 '25 05:10 zyz954489346

When working with large datasets, you’ll most likely never want to calculate the total number of pages manually. Instead, it’s better to use cursor pagination, as described here: https://laravel.com/docs/12.x/pagination#cursor-pagination

In other words, traditional page navigation and “quick” jumps to specific pages only work well for small datasets.

Why not use the global search feature instead for quick access to what you need?

tabuna avatar Nov 03 '25 21:11 tabuna

When working with large datasets, you’ll most likely never want to calculate the total number of pages manually. Instead, it’s better to use cursor pagination, as described here: https://laravel.com/docs/12.x/pagination#cursor-pagination

In other words, traditional page navigation and “quick” jumps to specific pages only work well for small datasets.

Why not use the global search feature instead for quick access to what you need?

When the total number of data is tens of thousands, basic pagination is still needed, but at the same time, there will be a lot of page numbers, and it is really inconvenient to have functions such as quick jumps

zyz954489346 avatar Nov 04 '25 02:11 zyz954489346

There are actually many cases where the amount of data is not large enough to require cursor paging, but at the same time there are a lot of page numbers.

zyz954489346 avatar Nov 04 '25 02:11 zyz954489346