/** * Prepare the container by loading the grid and parse it as subcolumns definition. * * @param Grid $grid The grid object. * * @return array */ protected function prepareContainer(Grid $grid) { $container = array(); foreach ($grid->getColumns() as $column) { $container[] = array(implode(' ', $column)); } return $container; }