@foreach ($columns as $index => $column) @continue($column->isHidden()) @continue($this->columnSelectIsEnabled() && !$this->columnSelectIsEnabledForColumn($column)) @continue($this->currentlyReorderingIsDisabled() && $column->isReorderColumn() && $this->hideReorderColumnUnlessReorderingIsEnabled()) @endforeach @if ($this->secondaryHeaderIsEnabled() && $this->hasColumnsWithSecondaryHeader()) @endif @forelse ($rows as $rowIndex => $row) @foreach ($columns as $colIndex => $column) @continue($column->isHidden()) @continue($this->columnSelectIsEnabled() && !$this->columnSelectIsEnabledForColumn($column)) @continue($this->currentlyReorderingIsDisabled() && $column->isReorderColumn() && $this->hideReorderColumnUnlessReorderingIsEnabled()) {{ $column->renderContents($row) }} @endforeach @empty @endforelse @if ($this->footerIsEnabled() && $this->hasColumnsWithFooter()) @if ($this->useHeaderAsFooterIsEnabled()) @else @endif @endif