grid-js / gridjs

Advanced table plugin
https://gridjs.io
MIT License
4.39k stars 240 forks source link

Is there a way to prevent the pagination controls from jumping left-to-right when clicking on "Next"? #1449

Open dmitrykuzmin opened 4 months ago

dmitrykuzmin commented 4 months ago

Is your feature request related to a problem? Please describe.

When I click the "Next" button on pagination controls, the whole pagination UI sometimes suddenly becomes wider or narrower, depending on which page I'm on. This makes the navigation somewhat uncomfortable.

See the screenshots:

ex23

ex24

Describe the solution you'd like

I'd like the number of buttons and their positions within the pagination controls to stay constant.

Describe alternatives you've considered

I haven't found any workaround. Maybe a custom plugin would work?