Topic: MDBTable (Move to Last page of grid)
Yawar ALI free asked 4 years ago
Hi I am using MDBTable grid where record is fetched from API. Things are working fine. Let assume I have record of 10k rows and I am displaying 100 per page. I want the button at the gird footer so that by clicking on the Last button data of last page should be shown to user. currently there is previous and next page but I want Start and End. Can u help me out in this so that I can resolve this issue? Thanks
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.25.6
- Device: laptop
- Browser: Google
- OS: Window
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 4 years ago
There is not possible to do that in this datatable. I will release new version of datatable on Monday which contains that convenience
Yawar ALI free commented 4 years ago
let me know if there is any update, I was checking your documentation and nothing like this I found. Thanks
Piotr Glejzer staff commented 4 years ago
do you mean something like that?
https://mdbootstrap.com/docs/react/tables/datatables/#full-pagination ?
Yawar ALI free commented 4 years ago
Yes, I want full page pagination with next,previous,first and last page, but when I import MDBDataTableV5 from "mdbreact": "4.20.0", then it is unable to import, while in provided link, api tab u have mentioned that MDBDataTable =>fullPagination but it is not working.
Piotr Glejzer staff commented 4 years ago
Full pagination is working in the MDBDataTableV5 (v.4.26.1). There is no provide this feature in the old data table.
Yawar ALI free commented 4 years ago
Is this sort icons by default I don't want to see arrow icons while instead of this arrow I want my own icons. is there a way?
Piotr Glejzer staff commented 4 years ago
we are using font awesome icons in our CSS code. You can overwrite this in _datatable.scss file.
Yawar ALI free commented 4 years ago
Hi I have updated to MDBDataTableV5 (v.4.26.1). Now issue is that I have grid of 5 pages where user can select the record if I am on page 5 and click on checkbox then by clicking on checkbox grid will go to page one... Can u guide me regarding this?
Thanks
Piotr Glejzer staff commented 4 years ago
can you show me your code?