public function handleHideColumn($column)
	{
		/**
		 * Store info about hiding a column to session
		 */
		$columns = $this->getSessionData('_grid_hidden_columns');

		if (empty($columns)) {
			$columns = [$column];
		} elseif (!in_array($column, $columns, true)) {
			array_push($columns, $column);
		}

		$this->saveSessionData('_grid_hidden_columns', $columns);
		$this->saveSessionData('_grid_hidden_columns_manipulated', true);

		$this->redrawControl();

		$this->onRedraw();
	}
public function handleHideColumn($column)
	{
		/**
		 * Store info about hiding a column to session
		 */
		$columns = $this->getSessionData('_grid_hidden_columns');

		if (empty($columns)) {
			$columns = [$column];
		} elseif (!in_array($column, $columns, true)) {
			array_push($columns, $column);
		}

		$this->saveSessionData('_grid_hidden_columns', $columns);
		$this->saveSessionData('_grid_hidden_columns_manipulated', true);

		$this->redrawControl();

		$this->onRedraw();
	}
public function handleHideColumn ( $ column ) { /**
		 * Store info about hiding a column to session
		 */ $ columns = $ this -> getSessionData ( '_grid_hidden_columns' ) ; if ( empty ( $ columns ) ) { $ columns = [ $ column ] ; } elseif ( ! in_array ( $ column , $ columns , true ) ) { array_push ( $ columns , $ column ) ; } $ this -> saveSessionData ( '_grid_hidden_columns' , $ columns ) ; $ this -> saveSessionData ( '_grid_hidden_columns_manipulated' , true ) ; $ this -> redrawControl ( ) ; $ this -> onRedraw ( ) ; }
Notice datagrid to not display particular columns
@param  string $column
@return void
Notice datagrid to not display particular columns