MvcContrib Grid - AutoGenerateColumns possible with complex objects?
Posted
by Sosh
on Stack Overflow
See other posts from Stack Overflow
or by Sosh
Published on 2010-05-07T09:07:43Z
Indexed on
2010/05/07
12:58 UTC
Read the original article
Hit count: 277
I like MvcContrib Grid's AutoGenerateColumns feature, however it only seems to work with simple objects. Is it possible to get it to traverse the properties of a complex object? Or is it neccesary to do this manually with column.For()
?
An example would be a User object that has an Address object as one of its properties.
© Stack Overflow or respective owner