How to conditionaly use headerActions for tables?
I have my table configured seperately in an own class, so that I can use it on the main resource and in the manager. Is there a way to use table functions like headerAction or filters conditionaly? And how can I show/hidde a field/column based on where a table or form is used (main resource or manager) ?
Solution:Jump to solution
I solved it like described there:
https://filamentphp.com/docs/3.x/panels/resources/relation-managers#sharing-a-resources-form-and-table-with-a-relation-manager
and dont use a own class any more....
1 Reply
Solution
I solved it like described there:
https://filamentphp.com/docs/3.x/panels/resources/relation-managers#sharing-a-resources-form-and-table-with-a-relation-manager
and dont use a own class any more.