First step you need to dependency the Show and hide column components and assigned it on web block container on the screen you will use it.
then assigned the table id on the input parameter of show and hide web block