F
Filament5mo ago
dyo

Problem in table tabs at the custom page

Why my tabs modified query in not applied to the table when the tab is selected? Can someon tell me what is missing?
Solution:
Finally I solved it by calling $this->resetTable() when the property activeTab changed.
Jump to solution
6 Replies
dyo
dyoOP5mo ago
can someone help me?
Bruno Pereira
Bruno Pereira5mo ago
Shouldn't it be
return $table
->modifyQueryUsing(...)
return $table
->modifyQueryUsing(...)
instead of
return $table
->query
return $table
->query
?
dyo
dyoOP5mo ago
Yeah, I want to use it in the table at custom page.. But I got the issue that I mention above..
Solution
dyo
dyo5mo ago
Finally I solved it by calling $this->resetTable() when the property activeTab changed.

Did you find this page helpful?