How to control layout grid columns visibility

0
I have a layoutgrid getting populated via page parameter entity. it has columns showing and i need to control visibility of 3 columns based on a condition. Ex: if $currentobject/name ='x’ then show the column else hide. In the columns inside the grid there isn't any option for controlling visibility but i could see dynamic classes option. Can we use these to control visibility?
asked
1 answers
0

You can create the following class:

.hide-column {

display: none;

}

Use dynamic class feature to apply this class based upon your condition.

answered