How to change the default no data message when the data on the table is empty. #337
Answered
by
KevinVandy
mersimoski
asked this question in
Q&A
-
Currently we have the "no results found" But is there any way i can change this message? |
Beta Was this translation helpful? Give feedback.
Answered by
KevinVandy
Jan 26, 2023
Replies: 2 comments 3 replies
-
You can change it in the localization prop |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mersimoski
-
@KevinVandy Could we have a way to customize the rendering? I need to put a more graphical component with a CTA like below, do you think you could make an option available? 🙏 This would be awesome 💯 <MaterialReactTable
columns={columns}
data={data}
// Here I need to be able to customise the empty placeholder
emptyPlaceholder={<Empty title='No data found' description={<span>No data match the current filters <Button>Reset filters</Button></span>} />}
/>; |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can change it in the localization prop