public function setFilter(array $filter) { $this->filter = $filter; $this->saveSessionData('_grid_has_filtered', 1); return $this; }