public function setEditable($callback = NULL, \Nette\Forms\IControl $control = NULL)
    {
        $this->editable = TRUE;
        $this->setClientSideOptions();

        $callback && $this->setEditableCallback($callback);
        $control && $this->setEditableControl($control);

        return $this;
    }
public function setEditable($callback = NULL, \Nette\Forms\IControl $control = NULL)
    {
        $this->editable = TRUE;
        $this->setClientSideOptions();

        $callback && $this->setEditableCallback($callback);
        $control && $this->setEditableControl($control);

        return $this;
    }
public function setEditable ( $ callback = NULL , \ Nette \ Forms \ IControl $ control = NULL ) { $ this -> editable = TRUE ; $ this -> setClientSideOptions ( ) ; $ callback && $ this -> setEditableCallback ( $ callback ) ; $ control && $ this -> setEditableControl ( $ control ) ; return $ this ; }
Sets column as editable.
@param callback $callback function($id, $newValue, $oldValue, Columns\Editable $column) {}
@param \Nette\Forms\IControl $control
@return Editable
Sets column as editable .