@php($tableName = $this->getTableName())
@if ($this->hasConfigurableAreaFor('before-tools')) @include($this->getConfigurableAreaFor('before-tools'), $this->getParametersForConfigurableArea('before-tools')) @endif @if($this->getCurrentlyReorderingStatus()) @endif @if($this->bulkActionsAreEnabled() && $this->hasBulkActions()) @endif @foreach($columns as $index => $column) @continue($column->isHidden()) @continue($this->columnSelectIsEnabled() && ! $this->columnSelectIsEnabledForColumn($column)) @continue($column->isReorderColumn() && !$this->getCurrentlyReorderingStatus() && $this->getHideReorderColumnUnlessReorderingStatus()) @endforeach @if($this->secondaryHeaderIsEnabled() && $this->hasColumnsWithSecondaryHeader()) @endif @if($this->hasDisplayLoadingPlaceholder()) @endif @forelse ($rows as $rowIndex => $row) @foreach($columns as $colIndex => $column) @continue($column->isHidden()) @continue($this->columnSelectIsEnabled() && ! $this->columnSelectIsEnabledForColumn($column)) @continue($column->isReorderColumn() && !$this->getCurrentlyReorderingStatus() && $this->getHideReorderColumnUnlessReorderingStatus()) @if($column->isHtml()) {!! $column->renderContents($row) !!} @else {{ $column->renderContents($row) }} @endif @endforeach @empty @endforelse @if ($this->footerIsEnabled() && $this->hasColumnsWithFooter()) @if ($this->useHeaderAsFooterIsEnabled()) @else @endif @endif @includeIf($customView)