Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
761
FieldChooser SortOrder SameAsDataPresenter not in sync with grid's column sort order
posted

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

  • 69686
    posted

    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>