public function setColumnStyle($columnIndex, $name)
    {
        $columnIndex = (int) $columnIndex;

        $this->columnStyles[$columnIndex] = $this->resolveStyle($name);

        return $this;
    }
public function setColumnStyle($columnIndex, $name)
    {
        $columnIndex = (int) $columnIndex;

        $this->columnStyles[$columnIndex] = $this->resolveStyle($name);

        return $this;
    }
public function setColumnStyle ( $ columnIndex , $ name ) { $ columnIndex = ( int ) $ columnIndex ; $ this -> columnStyles [ $ columnIndex ] = $ this -> resolveStyle ( $ name ) ; return $ this ; }
Sets table column style.

@param int               $columnIndex Column index
@param TableStyle|string $name        The style name or a TableStyle instance

@return $this
Sets table column style .