How to mask row with conditions

Hello Everyone,

Do you know how can I mask some rows when I click on a “Enum” button? Conversely, when I deselect the “Enum” button, the rows reappear.
Of course when I’ll click on the button, it won’t be possible to enter values in some rows.

Thank you for your help. Stay home and Take care.

If by “rows” you mean “columns”:

If by “rows” you mean “rows”:


Thank you Steve !
Indeed, I mean columns !