Export Visible Columns ONLY
Hello, I have a table with many columns and user can make columns visible or hide as needed - I also have an EXPORT action, with Filament Exporter, I want the exporter to only export columns which are visible.
in Filament, the Table columns and exporter columns are both defined in 2 separate classes
table has its own list of columns
and exporter has its own list of export columns
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/export#defining-exporter-columns
any way I can send the list of currently visible columns to the exporter.
I currently have export action in page reader where the table is, but I can move the export action to table header as well.
0 Replies