Hi My child records have the same column header of their parent record so Is it possible not to show the child records' column header?
Thanks!
Hi,
you can try this for your child records Fieldlayout:
<igDP:FieldLayout >
<igDP:FieldLayout.Settings> <igDP:FieldLayoutSettings LabelLocation="Hidden"></igDP:FieldLayoutSettings> </igDP:FieldLayout.Settings> <igDP:FieldLayout.Fields> <igDP:Field Name="FirstName" /> <igDP:Field Name="LastName" /> </igDP:FieldLayout.Fields>
</igDP:FieldLayout>
Regards
Vlad
Vlad,
the xmlDataGrid is bound by ItemList amd I do not specify any fieldname and therefore I can't use FieldLayout.Settings
<igDP:XamDataGrid Grid.Row="1" Margin="5,5,8,0" Name="xamDataGridDrillDown" DataSource="{Binding Path=ItemList}" />
Steve
Hello Steve,
You can do the same in the code behind them, but you have to make sure that the fieldlayout of the child records is initialized. You can do this, for example, in the FieldLayoutInitialized event and check if it is the [1] layout and set the property.
xamDataGrid.FieldLayouts[1].Settings.LabelLocation = LabelLocation.Hidden;
Alex.