public function dataGrid ($dataGrid)
    {   
        if (!$dataGrid instanceof DataGridInterface){
            $dataGrid = $this->container->get('thrace_data_grid.provider')->get($dataGrid);
        }

        return $this->container->get('templating')->render(
            'ThraceDataGridBundle:DataGrid:index.html.twig', 
            array(
                'dataGrid' => $dataGrid, 
                'translationDomain' => $this->container
                    ->getParameter('thrace_data_grid.translation_domain')
            )
        );
    }