This project is read-only.

How to sort a column by a different property than the displayed property?

Jul 7, 2015 at 9:00 AM

I do have an enum reflecting the processing state of an item (such as "Undefined", "UnderConstruction", "Finished" etc.). The item exposes both the enum and a user-friendly text for each value (i.e. "undefined", "under construction", "finished"). The grid displays the user-friendly text, BUT I want to sort by the enum's values - as these reflect the correct processing order.

How can that be done?