Record Master :

@foreach($grid as $t) @if($t['view'] ==1) @endif @endforeach
{{ $t['label'] }} {{ $row->$t['field'] }}