{{-- args: $rows, $cols --}} @php /** @var object[] $columns */ /** @var \App\Models\Row[] $rows */ @endphp
#GRID | @foreach($columns as $col){{ $col->title }} | @endforeach
---|---|
{{ $row->data->_grid }} | @foreach($columns as $col){{ $row->data->{$col->name} }} | @endforeach