Hello Yizuhi,
Hope you're doing well.
Let's say as an example that you have a boolean variable called HideColumnOne after the user selects Column One from the list of the available columns (meaning that he wants to hide that Column One).
This variable is set to True if the user selects that column from the available columns list, otherwise it is set to False.
Then you just need something like:
If (HideColumnOne, "display: none;", "")
You may place this condition as a style attribute for the Row and for the Header of that Column One.
For the Row of Column One, it should be:

This will make the Row of your column hide or not according to the value of HideColumnOne variable.
Don't forget to do the same for the Header :)
Hope that this helps you!
Kind regards,
Rui Barradas