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?
Here is the sample
Hi,
Maybe one possible solution could be if you handle ultraGrid1_InitializeLayout event. Please take a look on attached sample for more details and if you have any questions, feel free to write me
Regards