laravel-datatables
laravel-datatables copied to clipboard
Add sub headers
Hi, how can i add sub headers like this if possible

Using the html builder? Currently not possible but you can always use the manual html to set the headers. Just be sure to use the correct table id
// html builder
public function html() {
return $this->builder()->setTableId('users-table')...
}
// view.blade.php
<table id="users-table">
<thead>
-- your th here
</thead>
</table>
@push('scripts')
{{ $dataTable->scripts() }}
@endpush
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.