gregnb / gregnb/mui-datatables

Can I use jumpToPage and go to first (or last) page together?

Open
#1,982 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

Hi! Thank you for the library!

Tell me please how can I use at once jumpToPage and showFirstButton/showLastButton in a TableFooter?
The problem is that I can't pass showFirstButton/showLastButton directly to a Table props, for this purpose I should create CustomFooter and pass that props to TablePagination. And according to your code if we use customFooter we can't have JumpToPage component anymore.

The simplest solution for me is to give us a possibility to import JumpToPage component from the library. So we can add it to a CustomFooter. Can you do that? Or maybe there is another way?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.