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
LeandroFerreira15mo ago
Are you using a plugin? Is heading the label?
Dennis Koch
Dennis Koch15mo ago
Inside the Excel itself? @leandro_ferreira it's my plugin #pxlrbt-excel
Hemanath
HemanathOP15mo ago
yes yes,i am using pxlrbt plugin only...
Dennis Koch
Dennis Koch15mo 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
HemanathOP15mo ago
okay thanks.Let try
Want results from more Discord servers?
Add your server