|
If you want to hide the Labor section in case there are no lines, then use the following code:
.hide_TableLabor{ {{$F.IF($F.COUNTOF($D.Labor) == 0 ,"display: none;","display: visibility;")}} }
|
|
The COUNTOF() function can also be used to hide specific columns in the table. For example,
<th class="theader" id="hide_col" svmx-data="{{SVMXC__Actual_Price2__c}}" width="12%">
where hide_col is defined in the CSS section similar to hide_Table.
|