protected function prepareContainer(Grid $grid)
    {
        $container = array();

        foreach ($grid->getColumns() as $column) {
            $container[] = array(implode(' ', $column));
        }

        return $container;
    }
protected function prepareContainer(Grid $grid)
    {
        $container = array();

        foreach ($grid->getColumns() as $column) {
            $container[] = array(implode(' ', $column));
        }

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

@param Grid $grid The grid object.

@return array
Prepare the container by loading the grid and parse it as subcolumns definition .