Yeah, this is a bit of an issue. I have only just come across this,
but to be honest it was only during my initial testing of the
OrderBy(string, string) extension for use with the Grid and I was
using a raw entity as the source. After building a ViewModel and
mapping the object list across with a Select() and ensuring the model
was flat it's working great.
Seriously Jeremy, this is outstanding work. I can't wait to see what
you do with it next.
An Filtering field in the Column header that can be enabled per Column
with a provided DataType or using DataAnnotations on the GridModel.
Perhaps some custom Attribute that can be applied to suggest possible
filtering criteria (<, <=, >, >=, contains, starts with, etc). That
would be awesome.
Al
On Oct 5, 5:00 pm, Jeremy Skinner <
jer...@jeremyskinner.co.uk> wrote:
> The OrderBy method in mvccontrib only supports simple scenarios where you're sorting directly on the property of your object rather than a child entity's property. If you need to do this then you'll need to use a different mechanism to perform the sort.
>
> This is something that I'll look at adding in the future as an enhancement.
>
> Jeremy Skinner
> Sent from my iPhone
>
> > Contact Jeffrey Palermo or Eric Hexter with specific questions about the MvcContrib project. Or go tohttp://
mvccontrib.org