<?php
if ($scope->locally()->hasValue('Fields', null, true)) { 
$val .= '
    <tr class="grid-field__filter-header" style="display:none;">
	   ';

$scope->locally()->obj('Fields', null, true); $scope->pushScope(); while (($key = $scope->next()) !== false) {
$val .= '
	       <th class="extra">';

$val .= $scope->locally()->XML_val('Field', null, true);
$val .= '</th>
	   ';


}; $scope->popScope(); 
$val .= '
    </tr>
';


}
$val .= '
';

