Apply filament tab query filter to table on custom ViewRecord page
I have built a custom filament resource page (View type). I have added a separate table which get's its data using an api via sushi. I'm able to display the table and the tabs, but when I click on the tabs for filtering, it just refreshes the table, rather the applying the query.
What I want is very similar to the filament's demo order page. orders
My view file
2 Replies
If I add the following code to the start of table method. I do get the filtering done when a page is refreshed but not when livewire makes a request, as the value for $this->activeTab is still the same from the previous request.
I'm with the same need, There are some columns that I want to hide depending of active tab