public function handleResetFilter()
	{
		/**
		 * Session stuff
		 */
		$this->deleteSessionData('_grid_page');

		if ($this->default_filter_use_on_reset) {
			$this->deleteSessionData('_grid_has_filtered');
		}

		if ($this->default_sort_use_on_reset) {
			$this->deleteSessionData('_grid_has_sorted');
		}

		foreach ($this->getSessionData() as $key => $value) {
			if (!in_array($key, [
				'_grid_per_page',
				'_grid_sort',
				'_grid_page',
				'_grid_has_filtered',
				'_grid_has_sorted',
				'_grid_hidden_columns',
				'_grid_hidden_columns_manipulated',
			], true)) {
				$this->deleteSessionData($key);
			}
		}

		$this->filter = [];

		$this->reloadTheWholeGrid();
	}
public function handleResetFilter()
	{
		/**
		 * Session stuff
		 */
		$this->deleteSessionData('_grid_page');

		if ($this->default_filter_use_on_reset) {
			$this->deleteSessionData('_grid_has_filtered');
		}

		if ($this->default_sort_use_on_reset) {
			$this->deleteSessionData('_grid_has_sorted');
		}

		foreach ($this->getSessionData() as $key => $value) {
			if (!in_array($key, [
				'_grid_per_page',
				'_grid_sort',
				'_grid_page',
				'_grid_has_filtered',
				'_grid_has_sorted',
				'_grid_hidden_columns',
				'_grid_hidden_columns_manipulated',
			], true)) {
				$this->deleteSessionData($key);
			}
		}

		$this->filter = [];

		$this->reloadTheWholeGrid();
	}
public function handleResetFilter ( ) { /**
		 * Session stuff
		 */ $ this -> deleteSessionData ( '_grid_page' ) ; if ( $ this -> default_filter_use_on_reset ) { $ this -> deleteSessionData ( '_grid_has_filtered' ) ; } if ( $ this -> default_sort_use_on_reset ) { $ this -> deleteSessionData ( '_grid_has_sorted' ) ; } foreach ( $ this -> getSessionData ( ) as $ key => $ value ) { if ( ! in_array ( $ key , [ '_grid_per_page' , '_grid_sort' , '_grid_page' , '_grid_has_filtered' , '_grid_has_sorted' , '_grid_hidden_columns' , '_grid_hidden_columns_manipulated' , ] , true ) ) { $ this -> deleteSessionData ( $ key ) ; } } $ this -> filter = [ ] ; $ this -> reloadTheWholeGrid ( ) ; }
Handler for reseting the filter
@return void
Handler for reseting the filter