public function getDataGrid ($name)
    {
        if (! $this->getRequest()->isXmlHttpRequest()) {
            throw new \RuntimeException('Request must be XmlHttpRequest');
        }
        
        $provider = $this->container->get('neutron_data_grid.provider');
        
        if (!$provider->has($name)) {
            throw new \InvalidArgumentException(sprintf('The datagrid %s is not defined', $name));
        }
        
        return $provider->get($name);
    }