3.2.08a Dynamically show and hide columns in a table

The introduction

 

How to output the simple table, You can see in this example

But, suppose that we need to hide/show (by conditionany columns from table part. I.e. we have a column set that have to be output permanently; in addition, there are several columns that you want to show in the form depending on the conditions.

For example, there are 6 columns in the table (A, B, C, D, E, F). Here, first three columns (A, B, C) have to be placed permanently in the formand the other columns (D, E, F) - have to be displayed depending on whether a corresponding checkbox is set on the selection screen in the printing program: