icflorescu / icflorescu/mantine-datatable

Hide noRecordsText in paginationText section

Open
#654 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.