public function addDecorator($name, $options = array())
    {
        $decorator = DecoratorFactory::factoryHeader($name, $options);
        $this->attachDecorator($decorator);
        $decorator->setHeader($this);
        return $decorator;
    }
public function addDecorator($name, $options = array())
    {
        $decorator = DecoratorFactory::factoryHeader($name, $options);
        $this->attachDecorator($decorator);
        $decorator->setHeader($this);
        return $decorator;
    }
public function addDecorator ( $ name , $ options = array ( ) ) { $ decorator = DecoratorFactory :: factoryHeader ( $ name , $ options ) ; $ this -> attachDecorator ( $ decorator ) ; $ decorator -> setHeader ( $ this ) ; return $ decorator ; }
Set options like title, width, order, sortable

@param string $name
@param array $options
@return Decorator\Header\AbstractHeaderDecorator
Set options like title width order sortable