Please find attached a demo app that mocks up the problem I'm facing.
I've created a small 2-level hierarchy of data to show on the grid. I manually create the field layouts and ensure the correct layout is assigned to each item. I've set a style on the child layout to apply indentation and have supressed the child record headers.
I've also set various properties on the grid to hide the expansion indicators, turn off editing, turn on simple record selection etc. I've set the HeaderPlacements to "OnTopOnly". I also expand all records by default (as I've hidden the expansion indicators).
All of this achieves a neat simple display of data:
If you then resize the window so you see a vertical scroll bar and you scroll down a row or two from the top, an additional header row is displayed:
This may be desirable in some situations (when child headers are on for example), but in my case just confuses things. Is there any way to prevent these extra headers appearing in this case?
Regards,
Dave
Your problem is suppossed to be solved with,
<igDP:FieldLayout.Settings>
<igDP:FieldLayoutSettings HeaderPlacement="OnTopOnly"/>
</igDP:FieldLayout.Settings>
but is not working is a bug that is already solved and will be available for us on the next release.
see http://community.infragistics.com/forums/t/16974.aspx
Thanks Erwin, I didn't notice that post when looking for a solution.
Hopefully "2010.1" will be out soon!