Hello
We are using the XamDataGrid along with the FieldChooser. Setting the "FieldChooserDisplayOrder" property to "SameAsDataPresenter", correctly reflects the sort order of the grid's columns. If the grid's column sort order then is changed and the FieldChooser is displayed again, the FieldChooser's column sort order is not updated. Is this a bug?
Thanks,
Frank
Hello Frank,
I tried this and I was not able to reproduce this when testing against the latest service releases for 9.2 and 10.1 Here is the sample code snippet that I am using to test this:
<igDP:XamDataGrid BindToSampleData="True" Name="xamDataGrid1" VerticalAlignment="Top">
<igDP:XamDataGrid.FieldLayoutSettings>
<igDP:FieldLayoutSettings HeaderPrefixAreaDisplayMode="FieldChooserButton" />
</igDP:XamDataGrid.FieldLayoutSettings>
<igDP:XamDataGrid.Resources>
<Style TargetType="{x:Type igDP:FieldChooser}">
<Setter Property="FieldDisplayOrder" Value="SameAsDataPresenter" />
</Style>
</igDP:XamDataGrid.Resources>
</igDP:XamDataGrid>