protected function initOptions() { $this->initDataColumns(); if (!empty($this->form)) { $this->form->type = ActiveForm::TYPE_VERTICAL; } $this->initColumn('serial'); $this->initColumn('action'); $this->initColumn('checkbox'); }