@props([
'column' => null,
'theme' => null,
'sortField' => null,
'sortDirection' => null,
'enabledFilters' => null,
'actions' => null,
'dataField' => null,
])
@if($column->hidden === false)
@if($column->sortable === true)
@if ($sortField !== $column->field)
↕
@elseif ($sortDirection == 'desc')
↑
@else
↓
@endif
@endif
sortable === true)
wire:click="sortBy('{{ $column->dataField !='' ? $column->dataField : $column->field }}')"
@endif
>
{{$column->title}}
|
@endif