Conditionally Hide ListView Columns

Good Day!

I am using the listViewProcess method in my view.list.php file.

I need to hide some columns conditionally.

Is there some kind of array or other variables where I can just loop then unset/remove specific columns?

Please help me T.T …

Thank you :slight_smile: