jonbalagot
How to get Table filters values from tables ?
How about using the plugin's own filter method "except"?
use pxlrbt\FilamentExcel\Actions\Tables\ExportAction;
use pxlrbt\FilamentExcel\Exports\ExcelExport;
ExportAction::make()->exports([
ExcelExport::make()->fromTable()->except([
'created_at', 'updated_at', 'deleted_at',
]),
ExcelExport::make()->fromTable()->only([ 'id', 'name', 'title', ]), ])
ExcelExport::make()->fromTable()->only([ 'id', 'name', 'title', ]), ])
4 replies