{{-- Basic table view --}} @extends('layouts.app') @php /** @var \App\Models\Table $table */ @endphp @section('content')
ID | @foreach($columns as $col){{ $col->title }} | @endforeach
---|---|
#{{ $row->id }} | @php($rdata = json_decode($row['data'], true)) @foreach($columns as $col){{ $rdata[$col->name] }} | @endforeach