{{-- components.table Renders a data table You can customize all the html and css classes but YOU MUST KEEP THE BLADE AND LIVEWIRE DIRECTIVES, props: - headers - itmes - actionsByRow --}} @if ($this->hasBulkActions) @endif {{-- Renders all the headers --}} @foreach ($headers as $header) @endforeach {{-- This is a empty cell just in case there are action rows --}} @if (count($actionsByRow) > 0) @endif @foreach ($items as $item) @if ($this->hasBulkActions) @endif {{-- Renders all the content cells --}} @foreach ($view->row($item) as $column) @endforeach {{-- Renders all the actions row --}} @if (count($actionsByRow) > 0) @endif @endforeach
width) ? 'width=' . $header->width . '' : '' }}> @if (is_string($header)) {{ $header }} @else @if ($header->isSortable()) @else {{ $header->title }} @endif @endif
{!! $column !!}