Is it possible to hide rows before save into pdf? #2999
Answered
by
mrmarcin12
mrmarcin12
asked this question in
Q&A
-
When I try to use function RemoveRow I getting fatal error. When I set "setWidth(0)" its not working and no effect. Is it possible to delete or hide row before save into pdf? It looks like this and dont working:
|
Beta Was this translation helpful? Give feedback.
Answered by
mrmarcin12
Aug 8, 2022
Replies: 1 comment 2 replies
-
$sheet->getRowDimension($rowNumber)->setVisible(false); This is essentially what you are doing. It works correctly for xlsx, html, and dompdf. It does not seem to work for mpdf. I'll see if I can raise an issue there. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you, with dompdf working good.