sort enumeration dropdown values in data grid

0
Hi, I have a dashboard which has few search filters and these are of dropdown type showing enumeration values. When I try selecting sort order for these, its saying field is not connected to entity, so am not able to sort these values. Is there any other way to sort these enum drop down values in search filter fields in dashboard?
asked
2 answers
2

Sowmya

When you use enumerations as an attribute on an entity, the sort order of the values is the order in which those values appear in the enumeration definition.  So you can change the order of these values by changing sort order of the enumeration, as highlighted below:

Hope that helps,

Mike

answered
2

Hi Sowmya,

Search filters are used on a data grid and need to be connected to an entity. Otherwise you cannot use them to filter the records in the data grid. Did you use the enumeration as an attribute on the entity displayed in the data grid?

More info:
https://docs.mendix.com/howto/ux/filtering-data-on-an-overview-page

Grt. Arjan 

answered