Refresh table on tab change

Hi, is there a way to hook on the tab change event to reset the table?

I have a table where columns come dynamically based on certain parameters. These parameters might be different per tab, but my table columns aren't updating. I need the table to refresh itself after each tab change.
Solution
Just added this method on my ListResource page:

public function updatedActiveTab(): void
    {
        $this->resetTable();
    }


apparently it solves my Issue, i'll report back in a couple minutes
Was this page helpful?