Пример #1
0
 /**
  * Generates columns from data source
  */
 protected function generateColumns()
 {
     foreach ($this->dataSource->getColumns() as $name) {
         $this->addColumn($name);
     }
 }