I've tried to search for this and I'm sure it's often requested but I've had no luck finding it via Google or in the docs or examples. What I want to do is have a grid with hierarchy (something like <DetailTables>)
My object model I'm binding is an IList of Customers which look like this
Customer
Id
Name
Locations typeof(IList)
Each customer should be at the top level of the grid, when the user expands the grid it should return locations. I've tried to set the DataMember of the DetailTable with no luck.
Most of the examples I see uses SQL statements on the ASPX page, however I already have an object model that's already populated. I'm using NHibernate but this would be the same as if you were using Entity Framework (EF). Any help is appreciated.
Thanks