Skip to content

Custom text for Row Selection #294

Answered by KevinVandy
CamachoPt asked this question in Q&A
Discussion options

You must be logged in to vote

It depends how much you want to override. If you use renderTopToolbar, you loose all of the built-in functionality of all the top toolbar.

You can just use muiToolbarAlertBannerProps.children to change the exact message in the toolbar.

This can be seen in the Remote Example on the docs site to show a custom error message.

Another option would be to change the localization.selectedCountOfRowCountRowsSelected prop to be that format.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by CamachoPt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants