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

[DataGrid] Fix print export failure when hideFooter option is set #13034

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tarunrajput
Copy link

Fixes: #13015
When hideFooter option is true, grid footer is not rendered anymore. This PR adds a check to skip styling the grid footer element in that case.

@tarunrajput tarunrajput changed the title fix: Print export fails when footer is set to hidde [DataGrid] Print export fails when footer is set to hidde May 6, 2024
@tarunrajput tarunrajput changed the title [DataGrid] Print export fails when footer is set to hidde [DataGrid] fix Print export fails when footer is set to hide May 6, 2024
@zannager zannager added the component: data grid This is the name of the generic UI component, not the React module! label May 7, 2024
@tarunrajput
Copy link
Author

@michelengelen, mind taking a look?

@michelengelen
Copy link
Member

@cherniavskii or @MBilalShafi gentle ping on this one!

@MBilalShafi MBilalShafi changed the title [DataGrid] fix Print export fails when footer is set to hide [DataGrid] Fix print export failure when hideFooter option is set May 31, 2024
Copy link
Member

@MBilalShafi MBilalShafi left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you @tarunrajput for working on it.

@mui-bot
Copy link

mui-bot commented Jun 22, 2024

Deploy preview: https://deploy-preview-13034--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 01652a4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[data grid] Print export fails when footer is set to hidden
5 participants