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
45
Grid bound to hierarchical collection, but header columns show on both bands.
posted

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..

Parents
  • 4618
    posted

    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 K
    Developer Support Engineer
    Infragistics, Inc.
    www.infragistics.com/support

     

Reply Children
No Data