Is it possible to customize table view files?
Hello everyone, I realized that I can make changes to admin panel layout elements, within resources I have
vendor/filament/layouts
My question is, can I have a folder with the files that build the tables and make customizations as well as the files inside the layouts folder?
3 Replies
Its possible to publish and customize the views for the tables package (but it's not recommended to do that...)
If you prefer to do it just for one resource and not globally, you can override the
getTable()
method on your List page and customize the view on the Table component using the view()
method. It's not really documented so you'll need to rely on the source code a bit.Hi Patrick.
I don't really intend to make global changes, but rather explore how the magic happens.
I'm in a safe environment, where my project is only intended to test the limitations that the filament may have and thus have a better idea of ββwhere and when I can really apply it, so I'm looking for alternatives that make it possible to test and break things to understand how they happen or at least part of them, in short, I'm having fun.
I will try your tips.
Thank you for your replies π€ π
That's the best situation to be in! Have fun π