update
parent
68841ce7fd
commit
6b2da35935
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue