I want to create PDF exporter using Filament Export

I want to create an exporter, that will export a PDF format. Is there a way i can use the default Exporter to build my own format? Just Wondering if this is possible. #❓┊help
5 Replies
toeknee
toeknee3mo ago
Not that I know off, you can you a plugin already which allows direct to pdf
Mohamed Ayaou
Mohamed Ayaou3mo ago
No default way but this it is should be easy to do
Mohamed Ayaou
Mohamed Ayaou3mo ago
Filament Examples
Table BulkActions: Download PDF From Selected Rows
You can add a custom BulkAction to the table, building a file from the selected table rows and download it immediately.
philipnjuguna
philipnjugunaOP2mo ago
I thought there is a way I could use it like this $this->getTable()->render() to get HTML them convert it pdf.
toeknee
toeknee2mo ago
Technically you could try that, but as we have a lot of tailwind styling that won't work within a PDF Rendering engine.... it will be a mess. You usually want to rebuild the table I'd say

Did you find this page helpful?