main
Ilham Wara Nugroho 2026-03-04 08:44:43 +07:00
parent 68841ce7fd
commit 6b2da35935
1 changed files with 4 additions and 4 deletions

View File

@ -72,18 +72,18 @@
</table>
@else
<?php $data = json_decode($dataset->data); ?>
<table id="table"
<table class="w-full text-left text-sm" id="table"
data-toggle="table"
data-search="false"
data-pagination="true"
data-side-pagination="server"
data-url="{{ url('dataset/Griddetail2025?id='.@$keyId) }}"
>
<thead>
<tr class="bg-primary-light text-primary">
<thead class="bg-slate-50 text-slate-500 uppercase text-[10px] font-bold tracking-wider">
<tr class="hover:bg-blue-50/30 transition-colors">
@if (!empty($data))
@foreach ($data[0] as $k => $key)
<th data-field="{{$k}}" class="gridjs-td gridjs-th text-xs">{{ ucwords(str_replace('_', ' ', $k)) }}</th>
<th data-field="{{$k}}" class="px-6 py-4">{{ ucwords(str_replace('_', ' ', $k)) }}</th>
@endforeach
@endif
</tr>