When using multiple bands in a grid how does the grid know the relationship from one band to another? I can't find a property to make one band a child of another band. In my case I have three bands, a parent, then a child, then a child of the child. Is there anything specific that I have to do to make this work?
Unfortunately this is the case for this grid. I want to assure you that we are aware of this highly demanded feature and working to deliver it. It'll be done the base of the WebDataGrid though.
It's now three months later and I still have this problem.
I have a top level parent band that has multiple child bands. How can I accomplish this? Let's say I have the following relationships.
Empoyee --> EmployeeLogin
Employee --> EmployeeType
Employee --> EmployeeRole --> Role
I want to model all three relationships as three child bands of Employee. So far this has not been possible with the grid. Apparently a grid band can only have a single child. Is this really the case? This seems like a major lack in a feature.
I assume your talking about the DataBinding event where the DataSet relations are setup. This setup is not my problem. The relations are pre-built when the LLBLGen Pro entities are generated. I am wondering if there is something on the side of the grid bands that needs to be setup. I noticed that there is a ChildBandColumn property that I can set on a band. What does this do?
Hi,
You can look at the following sample in the Infragistics Samples Browser (http://samples.infragistics.com/2008.3/WebFeatureBrowser/Default.aspx):
WebGrid -> Defining Layouts -> Hierarchical Grid -> "Source Code" -> HierarchicalGrid.aspx.cs
There in the CodeBehind you can see how the relations are set.
I hope this helps,
Angel