You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming category.children is some sort of -toMany relationship and category.children.name is a string, the above excerpt tells us that we can define an array column and have the bundle aggregate the data for us. This would make sense, but it doesn't seem to be the case.
First, I would like to know: if I had a Parent entity with OnetoMany Children entities, how can I display a grid of Parent entities with a column for the associated Children in one row/cell using an ArrayColumn annotation. I do not want to see Parent entities duplicated in this grid.
If that is not possible, I would like to see it made possible.
I would also like to see some sort of __toString() implementation for related entities. So, instead of field="children.name", we can simply omit it, and assume that Children::__toString() is implemented.
Activity
Abhoryo commentedon Dec 13, 2015
Array column is only use for array data store in the data base not entity.
The documentation is wrong here. Sorry.
qferr commentedon Mar 6, 2016
The documentation is already fixed.