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
1705
Child band, no columns or all columns
posted

I'm making a hierarchical grid from list of my own business objects, call them Parent and Child.  Parent has a List<Child> ChildCollection property.  I can bind this to the grid with SetDataBinding(listOfParents, string.Empty, true) and I get all my data, nice and hierarchical-like.

While I can control Band0 pretty well (I can specify columns and the header color), I don't seem to have any control over Band1.  I've set up columns/colors in the designer, but at runtime I get a default layout of all of Child's properties and the default colors.  I've tried setting grid.DisplayLayout.NewColumnLoadStyle = None, but this results in Band1 having no columns at all.

How can I control Band1 better?