Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding toolbar (removing selection count) #879

Closed
nwbhatia opened this issue Jul 25, 2019 · 2 comments
Closed

Overriding toolbar (removing selection count) #879

nwbhatia opened this issue Jul 25, 2019 · 2 comments

Comments

@nwbhatia
Copy link

How would I go about overriding the toolbar to remove the selection count overlay (while still retaining search, etc)

Was referring to this: https://material-table.com/#/docs/features/component-overriding, but unsure how to selectively override the selection count functionality.

@nataliepatton13
Copy link

Within options in the table set the showTextRowsSelected attribute to false, like this... <MaterialTable options={{ toolbar: true, selection: true, showTextRowsSelected: false }}/>

@nwbhatia
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants