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!
Sweet. That worked perfectly.
Thank you.