icflorescu / icflorescu/mantine-datatable
Hide noRecordsText in paginationText section
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
I would like to hide/disable the noRecordsText in the bottom left corner of the table while the text should remain in the center.
Describe the solution you'd like
Add a new prop to hide noRecordsText in the paginationText section.
Describe alternatives you've considered
My current workaround is to pass an empty string for noRecordsText and overwrite emptyState...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the table paginationText rendering and the existing noRecordsText and emptyState handling. Confirm how the new prop should affect only the bottom-left pagination text while preserving the centered empty-state text, then run the relevant existing table tests or verify the behavior in the table example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100