public function setTogglingControl(Control $control)
    {
        $control->checkId();
        if ($control instanceof Scriptable) {
            $control->setScriptEvents(true);
        }
        $this->togglingControl = $control;
        return $this;
    }