How to create a data container which displays my data which is sorted into blocks of enumeration values or similar?

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. IF THERE IS ANOTHER WAY to create this like in the most bottom picture then I am open for alternative methods. I just want my list to look like the one in AirTable.
asked
1 answers
0

Hi Michael Block,

as enumeration values are static and defined in the modeler you could build that kind of UI using the out of the box features of Mendix. To do so you must somehow create the dropdown for each enumeration value. You could use a group box, tree node or build that kind of UI using a helper entity.

Inside that dropdown you place a list view or grid that is filtered by that xpath.

 

If you want to have something more sothisticated you could build your own pluggable widget. There you can map through all enumeration values using JS.

 

 

answered