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>
Sweet. That worked perfectly.
Thank you.
This is a very nice solution. More on this issue, is there a way that I can show/hide column headers individually?
I have a Approve/Reject button column in the second row for every data record. I do not want to show header for this column. Sample code is attached.
<igDP:XamDataGrid.FieldLayouts>
<igDP:FieldLayout>
<igDP:FieldLayout.Fields>
<igDP:Field Label="Draw Date" Name="DrawDate" Row="0" Column="0" />
<igDP:Field Label="Deal Name" Name="DealName" Row="0" Column="1" />
<igDP:Field Label="Draw Amount" Name="DrawAmount" Row="0" Column="2" />
<igDP:Field Label="Draw Number-SubIndex" Name="DrawNumberSubIndex" Row="0" Column="3" />
<igDP:Field Label="Request Received Date" Name="RequestReceivedDate" Row="0" Column="4" />
<igDP:Field Label="Approval Pending From" Name="ApprovalPendingDate" Row="0" Column="5" />
<igDP:Field Label="Title Required" Name="TitleRequired" Row="0" Column="6" />
<igDP:Field Label="DrawDown" Name="DrawDown" Row="0" Column="7" />
<igDP:Field Label="Capitalized Interest" Name="CapitalizedInterest" Row="0" Column="8" />
<igDP:UnboundField Row="1" Column="0" ColumnSpan="9" Label="{x:Null}">
<igDP:Field.Settings>
<igDP:FieldSettings
CellValuePresenterStyle="{StaticResource ApproveRejectButtons}"
AllowRecordFiltering="False"
AllowGroupBy="False"
AllowSummaries="False"
/>
</igDP:Field.Settings>
</igDP:UnboundField>
</igDP:FieldLayout.Fields>
</igDP:FieldLayout>
</igDP:XamDataGrid.FieldLayouts>
Subu