Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ function GridToolbar(props: GridToolbarProps) {
printOptions,
additionalItems,
additionalExportMenuItems,
...other
Copy link
Contributor Author

@sai6855 sai6855 Sep 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if omitting other props from Toolbar was intentional, but including them resolved the issue

} = props;
const apiRef = useGridApiContext();
const rootProps = useGridRootProps();
Expand All @@ -112,7 +113,7 @@ function GridToolbar(props: GridToolbarProps) {
const closeExportMenu = () => setExportMenuOpen(false);

return (
<Toolbar>
<Toolbar {...other}>
{rootProps.label && <GridToolbarLabel>{rootProps.label}</GridToolbarLabel>}

{!rootProps.disableColumnSelector && (
Expand Down
Loading