Hi ,
You can do it with the help of Input controls. Please follow below steps
1. Create a variable with formula as = ""
2. Add this to the table that you want to hide/show as a column
3. Create a new input control with entry field. It should be free text box.
4. Go to the table and right click and navigate to hide when .. and type the formula in the hide when box as formula [new variable] = 1 or "Show".
5. Now type your text either 1 or Show in the free text input control and hit enter to toggle the table.
Hope this helps.
Thanks,
Tanveer.