Sorting of Enumeration attribute in Data Grid

0
Hello, Is there a way to sort an Enumeration attribute based on the order defined in the Enumeration instead of alphabetical inside a data grid? Thanks.
asked
1 answers
2

I do not think that is possible. A workaround that we have used in our team is to prefix the enumeration keys with letters in the order in which we want to sort them e.g. for Status

  • _A_Open
  • _B_Processing
  • _C_Completed
  • _D_Error

Hope this helps!

answered