Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
binding a column to child property

Using version 2011.2 trying to bind to a property of a child object using the MVC helper...

.Columns(x => {
 x.For(y => y.Script.Name).Width("auto").HeaderText("Script Name");

Fails because the key is set to just "Name" which doesn't exist on y. I tried forcing the Key to "Script.Name", but that didn't help.

Do I have to make a flat view model?

Parents Reply Children