protected function createHeaders(Grid $grid)
    {
        foreach ($grid->getConfig()->getColumns() as $column) {
            $this->addComponent(new ColumnHeader($column));
        }
    }
protected function createHeaders(Grid $grid)
    {
        foreach ($grid->getConfig()->getColumns() as $column) {
            $this->addComponent(new ColumnHeader($column));
        }
    }
protected function createHeaders ( Grid $ grid ) { foreach ( $ grid -> getConfig ( ) -> getColumns ( ) as $ column ) { $ this -> addComponent ( new ColumnHeader ( $ column ) ) ; } }
Creates children components for rendering column headers.

@param Grid $grid
Creates children components for rendering column headers .