Did you try this widget: https://appstore.home.mendix.com/link/app/2641/First-Consulting/EnumClass
Regards,
Ronald
Marcos,
Have a look at this post, this does something similar, with background colors and values in the grid:
https://forum.mendix.com/link/questions/5082
Hope this helps you in creating a solution for your question.