public function setOptions($options)
    {
        $this->title = (isset($options['title'])) ? $options['title'] : '';
        $this->width = (isset($options['width'])) ? $options['width'] : '';
        $this->order = (isset($options['order'])) ? $options['order'] : true;
        $this->sortable = (isset($options['sortable'])) ? $options['sortable'] : true;
        $this->separatable = (isset($options['separatable'])) ? $options['separatable'] : $this->getSeparatable();
        $this->tableAlias = (isset($options['tableAlias'])) ? $options['tableAlias'] : '';

        if (isset($options['editable']) && $options['editable'] == true) {
            $this->editable = $options['editable'];
            $this->getCell()->addDecorator('editable', array());
        }


        return $this;
    }
public function setOptions($options)
    {
        $this->title = (isset($options['title'])) ? $options['title'] : '';
        $this->width = (isset($options['width'])) ? $options['width'] : '';
        $this->order = (isset($options['order'])) ? $options['order'] : true;
        $this->sortable = (isset($options['sortable'])) ? $options['sortable'] : true;
        $this->separatable = (isset($options['separatable'])) ? $options['separatable'] : $this->getSeparatable();
        $this->tableAlias = (isset($options['tableAlias'])) ? $options['tableAlias'] : '';

        if (isset($options['editable']) && $options['editable'] == true) {
            $this->editable = $options['editable'];
            $this->getCell()->addDecorator('editable', array());
        }


        return $this;
    }
public function setOptions ( $ options ) { $ this -> title = ( isset ( $ options [ 'title' ] ) ) ? $ options [ 'title' ] : '' ; $ this -> width = ( isset ( $ options [ 'width' ] ) ) ? $ options [ 'width' ] : '' ; $ this -> order = ( isset ( $ options [ 'order' ] ) ) ? $ options [ 'order' ] : true ; $ this -> sortable = ( isset ( $ options [ 'sortable' ] ) ) ? $ options [ 'sortable' ] : true ; $ this -> separatable = ( isset ( $ options [ 'separatable' ] ) ) ? $ options [ 'separatable' ] : $ this -> getSeparatable ( ) ; $ this -> tableAlias = ( isset ( $ options [ 'tableAlias' ] ) ) ? $ options [ 'tableAlias' ] : '' ; if ( isset ( $ options [ 'editable' ] ) && $ options [ 'editable' ] == true ) { $ this -> editable = $ options [ 'editable' ] ; $ this -> getCell ( ) -> addDecorator ( 'editable' , array ( ) ) ; } return $ this ; }
Set options like title, width, order

@param array $options
@return $this
Set options like title width order