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
345
Select All not showing in FieldChooser - Sample xaml shown
posted

<Window x:Class="tester.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" xmlns:igDP="http://infragistics.com/DataPresenter">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Button Click="Button_Click" Grid.Row="0">Bind</Button>
            <igDP:XamDataGrid x:Name="XamDataGrid1" AutoFit="False" Grid.Row="1" Theme="Onyx">
                <igDP:XamDataGrid.FieldLayoutSettings>
                    <igDP:FieldLayoutSettings HighlightAlternateRecords="True"
                                          AutoGenerateFields="False"
                                          AllowFieldMoving="Yes"
                                          HeaderPrefixAreaDisplayMode="FieldChooserButton"
                                                      />
                </igDP:XamDataGrid.FieldLayoutSettings>
                <igDP:XamDataGrid.FieldSettings>
                    <igDP:FieldSettings
                                        AllowRecordFiltering="true"
                                        />
                </igDP:XamDataGrid.FieldSettings>
                <igDP:XamDataGrid.FieldLayouts>
                    <igDP:FieldLayout>
                        <igDP:FieldLayout.Fields>
                            <igDP:Field Name="SuiteID" Label="Record ID" />
                            <igDP:Field Name="Sector" Label="Sector" >
                                <igDP:Field.Settings>
                                    <igDP:FieldSettings AllowGroupBy="True"/>
                                </igDP:Field.Settings>
                            </igDP:Field>
                            <igDP:Field Name="ProductOwner" Label="Product Owner" />
                            <igDP:Field Name="OriginalQualNumber" Label="Original Qual Number" />
                            <igDP:Field Name="NewQualNumber" Label="New Qual Number" />
                            <igDP:Field Name="Title" Label="Title" />
                            <igDP:Field Name="SuiteStatus" Label="Status" >
                                <igDP:Field.Settings>
                                    <igDP:FieldSettings AllowGroupBy="True"/>
                                </igDP:Field.Settings>
                            </igDP:Field>
                            <igDP:Field Name="DevelopmentStartDate" Label="Development Start Date" />
                            <igDP:Field Name="TargetDate" Label="Operationally Complete Target" />
                            <igDP:Field Name="MarketingLaunch" Label="Marketing Launch Date" />
                            <igDP:Field Name="IsMDSApproved" Label="MDS Approved" />
                            <igDP:Field Name="IsGola" Label="GOLA?" />
                            <igDP:Field Name="IsLearningSolutions" Label="Learning Solutions?" />
                            <igDP:Field Name="IsMarketingSupportRequired" Label="Marketing Support?" />
                        </igDP:FieldLayout.Fields>
                    </igDP:FieldLayout>
                </igDP:XamDataGrid.FieldLayouts>
            </igDP:XamDataGrid>
    </Grid>
</Window>