How can I create a list view that can group my data by enumeration values? (Really simple answers)

0
On AirTable I can easily create a list which includes a column of single select values (in Mendix this would be an enumeration). I can then have those single select values show up in the list and have my data be grouped by those single select values. Each row of my data can only have one unique value of the single select value.   I added a picture of my domain model just for reference. I want the data that will be created using the attributes of the "Kopfkasten" entity to be sorted by the enumeration status (Pending Approval, Approved, Denied). I need this so I can decide if a form created by someone can be accepted and be shown in the app or be denied and deleted. I also added a picture with a good example of what I want to achieve in Mendix from AirTable. As you can see I can even minimize the data of a specific single select value which I also think is a good function. I am rather new and need a very simple explanation of what I need to do. Maybe even a recommendation for a learning path in the academy that could help me out.    
asked
1 answers
0

Looking at the example, I think using the Tree node widget would be a good start. 

 

Create four nodes inside the widget for each enumeration, and add a datagrid 2 widget within each node. 

 

Then, just retrieve the objects of kopfkasten for each enumeration value. 

 

So, no need to sort. Enumeration values are strings in the database so sorting would only work ascending or descending, you don't have control over the order of the values as long as you don't put them into a seperate entity with additional sorting attributes. 

answered