Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

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

$
0
0
Hi,

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?

Thanks,
Thorsten

Viewing all articles
Browse latest Browse all 4964

Trending Articles