Grido\Components\Columns\Editable::setEditableControl PHP Method

setEditableControl() public method

Sets control for inline editation.
public setEditableControl ( Nette\Forms\IControl $control ) : Editable
$control Nette\Forms\IControl
return Editable
    public function setEditableControl(\Nette\Forms\IControl $control)
    {
        $this->isEditable() ?: $this->setEditable();
        $this->editableControl = $control;
        return $this;
    }