/** * Add a single column to the column container * * @param Column\Column $column * @return $this */ public function addColumn(Column\Column $column) { // Join column to the table $column->setTable($this); // Add renderer to column if it didn't has one if (!$column->hasRenderer()) { $column->setRenderer($this->getRenderer()); } $this->columns[$column->getName()] = $column; return $this; }