Exemple #1
0
 /**
  * Sets title cell component ('th' tag).
  *
  * @param ContainerComponentInterface $cell
  * @return $this
  */
 public function setTitleCell(ContainerComponentInterface $cell)
 {
     $this->titleCell = $cell;
     $this->titleCell->children()->add($this->titleView, true);
     if ($this->titleCellPart !== null) {
         $this->titleCellPart->setView($cell);
     }
     return $this;
 }
 /**
  * @param ViewComponentInterface|null $view
  * @return $this
  */
 public function setView(ViewComponentInterface $view = null)
 {
     parent::setView($view);
     $this->setViewData();
     return $this;
 }