Export Action::make()

'ExportAction::make() ->label('Export') ->exports([ ExcelExport::make() ->withFilename('Employees') ->withColumns([ [])->fromTable()->modifyQueryUsing(fn ($query) => $query->where('status', 'Active')) , []) i am using export action, How do I change the heading font to bold? Can any one kindly advise how to change ...'
5 Replies
LeandroFerreira
Are you using a plugin? Is heading the label?
Dennis Koch
Dennis Koch2y ago
Inside the Excel itself? @leandro_ferreira it's my plugin #pxlrbt-excel
Hemanath
HemanathOP2y ago
yes yes,i am using pxlrbt plugin only...
Dennis Koch
Dennis Koch2y ago
It's not implemented via the action. You'd need a custom export class, then you can implement this: https://docs.laravel-excel.com/3.1/exports/column-formatting.html#styling
Customizing columns | Laravel Excel
Supercharged Excel exports and imports in Laravel
Hemanath
HemanathOP2y ago
okay thanks.Let try

Did you find this page helpful?