Grido\Components\Actions\Action::setDisable PHP Method

setDisable() public method

Callback should return TRUE if the action is not allowed for current item.
public setDisable ( $callback ) : Action
return Action
    public function setDisable($callback)
    {
        $this->disable = $callback;
        return $this;
    }