Data grid 2 showing one to many association (comma separated concatenation) - Mendix Forum

Data grid 2 showing one to many association (comma separated concatenation)


In the good old data grid it was possible to select a one to many association and then select a string or enum field for the object over the one to many association. The chosen attributes for the objects that where found over the assocation would be concatenated together. In Data Grid 2 this is not an option and you would have to make a temporary object or an extra attribute to hold the concatenated value. Example:


Object team has an assocation Account_Team with three accounts. (account 1: Harry, account2: Peter, account3: Dave). In data grid you could show a list of teams and for every team show the members by chosing the account_team associatoin and then the name association. In the column then the string: “Harry, Peter, Dave” would be shown for this team.

2 answers

Hello I m new at Mendix.

Is this essential feature still unavailable in DataGrid2? (Because I saw on other forum that update were made in Version 10.4, and I'm still unable to make it work for me.

I want to know if the problem comes from me or if I misunderstood something :) )


Thank you in advance


Now that data grid 2 has become the default when generating pages, I really miss this feature!

I can use the list view inside the datagrid2 to show the values, but I loved the comma seperated lists in the datagrid