S0RIEN/DataGridBundle — Issue #54: Rendering a grid with PHP template engine?
Author: ethanhann
Created: 2011-11-15 20:47:20+00:00
State: open

The documentation is clear on how to use the DataGrid bundle with Twig. Does it work with PHP as the template engine? Is something like this possible?

```php
$source = new Entity('AcmeDemoBundle:MyEntity');
$grid = $this->get('grid');
$grid->setSource($source);

// ...

$grid->renderHtml();
```