src/Grid.php
public function getColumn($id)
    {
        $column = $this->getComponent($id);
        if (!$column) {
            throw new RuntimeException("Column '$id' is not defined.");
        }
        if (!$column instanceof Column) {
            throw new RuntimeException("'$id' is not a column.");
        }
        return $column;
    }
public function getColumn($id)
    {
        $column = $this->getComponent($id);
        if (!$column) {
            throw new RuntimeException("Column '$id' is not defined.");
        }
        if (!$column instanceof Column) {
            throw new RuntimeException("'$id' is not a column.");
        }
        return $column;
    }
public function getColumn ( $ id ) { $ column = $ this -> getComponent ( $ id ) ; if ( ! $ column ) { throw new RuntimeException ( "Column '$id' is not defined." ) ; } if ( ! $ column instanceof Column ) { throw new RuntimeException ( "'$id' is not a column." ) ; } return $ column ; }
Returns column with specified id,
throws exception if grid does not have specified column.

@param string $id
@return Column
Returns column with specified id throws exception if grid does not have specified column .