Grouping rows - changing color
Is it possible to change the color of this grouping rows?
->defaultGroup(
Tables\Grouping\Group::make('vendor_company_id')
->label(__('entities.vendor_company'))
->getTitleFromRecordUsing(fn (Billable $record) => $record->company?->name)
)
1 Reply
solved, since it was a filament ccustom page and not a resource, i added custom css to the .fi-ta-group-header
Blade file:
<x-filament-panels::page>
<div class="sticky-thead colored-group-rows-wrapper">
{{ $this->table }}
</div>
</x-filament-panels::page>
Css:
.colored-group-rows-wrapper .fi-ta-group-header{
background-color:theme('textColor.green.400');
}