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

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

8

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.

asked
1 answers

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 

Created