@foreach($cols as $col) @if(!$col->isVisible()) @continue @endif buildAttributes() !!}> @if($col->isSortable()) {{$col->label()}} @if($col->isSorting()) @endif @else {{$col->label()}} @endif @endforeach @if(!empty($actions)) {{$btn_reset}} @else @if($paginator->has_filters()) {{$btn_reset}} @endif @endif @if($paginator->has_filters()) @foreach($paginator->getHiddenFilters() as $key => $hidden_filter) @endforeach @foreach($cols as $col) @if(!$col->isVisible()) @if($col->has_filter() && $col->filter()->isVisible()) @include($col->filter()->getView(),['filter' => $col->filter()]) @endif @continue @endif @if($col->has_filter() && $col->filter()->isVisible()) @include($col->filter()->getView(),['filter' => $col->filter()]) @endif @endforeach @if(!empty($actions)) @else @if($paginator->has_filters()) @endif @endif @endif