S0RIEN/DataGridBundle — Issue #58: Theright way to inetgrate extra columns to grid?
Author: print
Created: 2011-11-29 12:01:18+00:00
State: open

Hi,

i search for the right way to bring in some extra columns into my grid.

My first example is a simple image column, like "src/folder/{{ row.id }}.jpg".
I am not sure what's the right way for this, i hope anyone can get me a short tipp?

My second problem are columns with a ManyToOne situation:

* @GRID\Source(columns="id, name, category")
*/
class MyClass
{
....
* @GRID\Column(id="category.name", title="category", field="category")
*/
protected $category;

But my column category does not work/display in my grid with this configuration.

I hope anyone can help?

Thanks!