How to hide a column while exporting data? #3781
Answered
by
AshutoshJha15
AshutoshJha15
asked this question in
Q&A
-
I want to hide some column-based on condition. How can I set column visiblity |
Beta Was this translation helpful? Give feedback.
Answered by
AshutoshJha15
Nov 3, 2022
Replies: 1 comment
-
I have figured it out. $sheet->getColumnDimension('A')->setVisible(false); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AshutoshJha15
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have figured it out.
$sheet->getColumnDimension('A')->setVisible(false);