I cant select a many to many relationship in my datagrid

I need to add a column in my datagrid with a many to many relation as its source, but it doesn't show as a pickable datasource. How do I get around this?
2 answers

Hi Simon,


Try using Grid2.


My Entities:






Go Make It


You can’t select an attribute from a many to many association in a datagrid.  In the past when I needed to do this, I have added a ‘combined’ attribute to the entity I need to display in the grid and then populated (via an after commit event handler) that attribute with a list of the items in the many to many association.  I can then display my combined attribute in the grid.