{{-- 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 --}}
|
|
@endif
{{-- Renders all the headers --}}
@foreach ($headers as $header)
width) ? 'width=' . $header->width . '' : '' }}> @if (is_string($header)) {{ $header }} @else @if ($header->isSortable()) @else {{ $header->title }} @endif @endif | @endforeach {{-- This is a empty cell just in case there are action rows --}} @if (count($actionsByRow) > 0)@endif |
|---|---|---|
|
|
@endif
{{-- Renders all the content cells --}}
@foreach ($view->row($item) as $column)
{!! $column !!} | @endforeach {{-- Renders all the actions row --}} @if (count($actionsByRow) > 0)
|
@endif