public function renderToolbar() { if (!$this->showToolbar) { return ''; } unset($this->toolbar[self::BTN_CREATE], $this->toolbar[self::BTN_CREATE_ROOT], $this->toolbar[self::BTN_REMOVE]); return parent::renderToolbar(); }