This question is locked. New answers and comments are not allowed.
How can I make my ViewModel, Leverage the Grid View's Filtering/Sorting?
After much painstaking effort, I've managed to write a string based dynamic linq sort EntityQuery method for my DomainContext. But now I'm not to sure how to make the UI controls able to use it?
With the DomainDataSource, it some how manages to pass the filters to the query (Although, on an unrelated topic, there really should be some kind of check to stop it from sorting from non-entity property types, e.g. not by extended entity properties), how can I make my view model able to leverage these filters as well?
How does the DDS (or the GridView) communicate these values? (Namely, the Filter and sort descriptors)
After much painstaking effort, I've managed to write a string based dynamic linq sort EntityQuery method for my DomainContext. But now I'm not to sure how to make the UI controls able to use it?
With the DomainDataSource, it some how manages to pass the filters to the query (Although, on an unrelated topic, there really should be some kind of check to stop it from sorting from non-entity property types, e.g. not by extended entity properties), how can I make my view model able to leverage these filters as well?
How does the DDS (or the GridView) communicate these values? (Namely, the Filter and sort descriptors)