How to Set a Visibility Condition for a Column Based on an Attributes Value?

0
If Attribute A in $Update_Worksheet has a value, display this column; otherwise, remove the column. What should I write in the Visible condition?  
asked
1 answers
1

Hi Jeff,

    You cannot directly set the condition visibility using datagrid2 value, Create a HelperEntity with attribute of IsColumnVisible, then add a dataview in that page, Inside a dataview add the datagrid2 with a datasource of microflow which you need to apply the condition visibility, Then in the datasource microflow find the value of attribute $currentobject/attribute != empty if it returns empty then change IsColumnVisible to false else true in the HelperObject.

Then finally add a condition visibility in the datagrid2 column as $CurrentObject/IsColumnVisible which needs to hide

answered