I have a WinGrid with its datasource bound to a collection of header line objects. Each of those objects has a detail line collection property, so the WinGrid displays a two band hierarchy of header and detail rows. That all works fine and when I expand a header line the correct data is returned and added to the grid.
My problem is that the columns displaying in the grid's detail band are those of the header object rather than the detail object. Looking at the list object for those detail rows shows it to be the correct detail object type, but the grid isn't using the detail properties for the columns in the detail band.
I'm sure it must be something relatively simple I've missed, but I can't see what it is right now. If someone has any idea then I'd appreciate it..
Hello,
I have included a small sample that demonstrates how you can bind the WinGrid to a hierarchical data set. I built the data set and added the relation in code.
Hi bobthedeveloper,
I am currently in the process of constructing a sample for this issue, after which point I should be able to complete a more in depth analysis and solution for this issue. I will share my findings on this thread once complete.
If you have any questions at all, regarding this issue, please let me know.
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support