Pass props to customToolbar
See original GitHub issueI’d like to make my own custom filters, and the API is limiting.
Expected Behavior
Custom Components should get the same props that standard components get, such as tableRef. This way we can make our own Popovers and such.
Current Behavior
Custom Toolbar does not receive any props
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Material-UI Data-Grid: How pass parameter to custom toolbar?
I am defining a custom toolbar in datagrid ( ...
Read more >How to pass other props to custom tool in KendoReact | Telerik ...
I would like to be able to pass props other than view to custom toolbar components. Here is an example of a custom...
Read more >Custom props for toolbar #1450 - jquense/react-big-calendar
Then in rendering Calendar component I'm looking for a way of sending additional props, e.g. handlers to my new buttons, to customized toolbar...
Read more >Toolbar Customization Guide - Material React Table Docs
How to customize the Toolbars, add buttons to toolbars, or customize progress bars and alert banners in Material React Table.
Read more >Create custom toolbar items using global types - YouTube
With Storybook you can build custom DevTools in seconds. And they're immediately shared with your whole team!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I have a similar request. The customToolbar function currently allows you to add new icons/tools to the existing Toolbar. However, I need to style the existing Search and Filter icons into actual Buttons (not IconButtons) in addition to adding new tools. Is it possible to provide access to the functions that handle search, filter, and other default Toolbar tools to the customToolbar function? MUI-datatables currently passes specific parameters when building a customFooter, so I was hoping this might be viable for the customToolbar as well.
I also would like to have the existing toolbar functionality + additional icons