Reset filters after change tab

I have a view containing table and tabs. This works fine, but I don't know how to make a clicked tab reset the filters and search.
2 Replies
lkucharski
lkucharski6mo ago
Working solution: public function updating($property, $value) { if($property == 'activeTab'){ $this->tableSortColumn = null; $this->resetTableSearch(); $this->resetTableColumnSearches(); $this->resetTableFiltersForm(); $this->deselectAllTableRecords(); } }
Pulpsting0610
Pulpsting06104mo ago
hey, where should I put this updating method? Nevermind, I got it.