Answer the question
In order to leave comments, you need to log in
How to implement table wrapping when printing?
Good afternoon. colleagues!
I need to perform the following task: print a React component. React component rendered with Material ui(Table). I want to remove table wrapping by thead. I added css properties:
tableHead: {
'@media print': {
pageBreakInside: 'auto !important'
}
},
tableMain: {
'@media print': {
pageBreakInside: 'avoid !important',
pageBreakBefore: 'auto !important',
pageBreakAfter: 'auto !important'
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question