© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
9 replies
Hugo

Dynamic columns on Importer class

Hello, I am trying to create dynamic columns on my importer classes. I tried using importer options and passing in a client, because clients may have different columns than others. Some columns are always the same for every client but some have other types of columns. My goal was to pass in the client through the options and then loop through the extra columns of the specific client and create the ImportColumns in a dynamic way. What i found out was that I can't access $options in the getColumns method. is there a way to do this?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Dynamic columns
FilamentFFilament / ❓┊help
3y ago
Dynamic toggle columns based on relationship
FilamentFFilament / ❓┊help
5mo ago
dynamic Use $class;
FilamentFFilament / ❓┊help
3y ago
Exporter - dynamic generated columns
FilamentFFilament / ❓┊help
10mo ago