zuramai / mazer

Free and Open-source Bootstrap 5 Admin Dashboard Template and Landing Page

Home Page:http://zuramai.github.io/mazer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to fix datatables jquery not responsive?

WhisperGo opened this issue · comments

image

image

I already use div table-responsive before declare datatables, but when i add like 10 and i scroll the table to right, the search and pagination button become like that (in picture)?

Can anyone help me? Sorry for my bad english. Thankyou👌

commented

Yes, the pagination buttons will be centered in the mobile and tablet screen. This is the default style of jQuery Datatables for Bootstrap 5. You can check more examples for jQuery Datatables for reference.

Yes, the pagination buttons will be centered in the mobile and tablet screen. This is the default style of jQuery Datatables for Bootstrap 5. You can check more examples for jQuery Datatables for reference.

But, im designing my web for computer. Can the pagination button placed in the right screen?

commented

Yes you can.
I have made a minimal example for a datatables that place the pagination button on the right of the screen.

Check table-datatable-jquery.html (4e06a68)

Yes you can. I have made a minimal example for a datatables that place the pagination button on the right of the screen.

Check table-datatable-jquery.html (4e06a68)

Thank youu