/** * @inheritdoc */ public function init() { Asset::register($this->grid->view); $this->grid->view->registerJs("ToggleColumn.init();"); }
/** * @inheritdoc */ public function init() { Asset::register($this->grid->view); Html::addCssClass($this->options, ['progress', $this->size]); if ($this->isAnimated) { $this->_progressBarClass .= ' active'; $this->isStriped = true; } if ($this->isStriped) { $this->_progressBarClass .= ' progress-bar-striped'; } }