[data grid] gridFooterElement
is null
with hideFooter
#13273
Labels
component: data grid
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
feature: Export
Steps to reproduce
Link to live example: Sandbox
Current behavior
Doing either
<DataGrid hideFooter ... />
or<GridToolbarExport printOptions={{ hideFooter: true }} />
and then attempting to export to print yields the following error:Removing
hideFooter
allows it to be printed, but (obviously) with a footer.Expected behavior
The print dialog should open with the footer hidden.
Context
I have not been able to recreate this by editing existing sandboxes. Unsure what in my packages or setup could cause this, though.
Your environment
No response
Search keywords: gridfooterelement hidefooter x-data-grid
The text was updated successfully, but these errors were encountered: