Is it possible to hide column headers? Using a drill-down grid as a 'selection list' that displays a single column would be cleaner without the header.
<igDP:XamDataGrid>
<igDP:XamDataGrid.FieldLayoutSettings> <igDP:FieldLayoutSettings LabelLocation="Hidden"/> </igDP:XamDataGrid.FieldLayoutSettings>
<igDP:XamDataGrid.FieldLayoutSettings>
<igDP:FieldLayoutSettings LabelLocation="Hidden"/>
</igDP:XamDataGrid.FieldLayoutSettings>
</igDP:XamDataGrid>
Hi,
In my application I have master table with nested table elements (2 layers) in a xamDataGrid. I wanted to have the header for the nested table elements suppressed. The proposed solution worked fine so far.
But to align the cell width of master table and nested table, I tried to handle the SizeChanged events for the columns additionally. To do so, I added a style for the target type "LabelPresenter". As long as your FieldLayoutSetting is contained in my xaml the event handler is never called (when changing the column width of a corresponding table row). It seems that the style becomes disabled by a local field setting.
Do you have a solution which combines both:
1) disable the header
2) allow handling of the SizeChanged events
Thanks in advance!
Hello Alexander,
Thank you for your post. I have been looking into it and I can suggest you check these forum threads:
http://ko.infragistics.com/community/forums/p/62567/316956.aspx
http://ko.infragistics.com/community/forums/p/53090/276218.aspx
http://ko.infragistics.com/community/forums/p/59135/407997.aspx
where there are different approaches fro synchronizing the headers. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.