/**
  * @inheritdoc
  */
 public function init()
 {
     // Set the filter options based on the info we have
     $this->filter = [$this->successValue => $this->successLabel, $this->dangerValue => $this->dangerLabel];
     $this->filterInputOptions = ['prompt' => $this->promptLabel, 'class' => 'form-control', 'id' => null];
     // Get the view
     $view = $this->grid->getView();
     ActiveCheckColumnAsset::register($view);
     return parent::init();
     // TODO: Change the autogenerated stub
 }
 public function init()
 {
     // Get the view
     $view = $this->grid->getView();
     // Register the asset bundle
     ActiveCheckColumnAsset::register($view);
     // Set the filter options
     $this->filter = [false => 'No value', true => 'Has value'];
     $this->filterInputOptions = ['prompt' => 'Choose status', 'class' => 'form-control', 'id' => null];
     // Load custom information for this instance
     parent::init();
     // TODO: Change the autogenerated stub
     // Check to make sure that we have a URL set
     if ($this->setUrl === null) {
         throw new ErrorException('URL not set');
     }
     // Translate the URL
     $this->setUrl = Url::to($this->setUrl);
 }