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
835
Dynamic Grid ComboBoxes
posted

Hello, I'm trying to display a combobox column on my grid with data based on a List<UnitOfMeasure>  that is a member of the row being displayed. I.e. ItemNumber, ItemDescription, ItemUOMs. The grid wants to display the ItemUOMs as a hierarchy. I just want the content displayed in a combobox.

Help.

<igDP:Field Name="ItemUOMs">
    <igDP:Field.Settings>
        <igDP:FieldSettings EditorType="{x:Type igEditors:XamComboEditor}">
            <igDP:FieldSettings.EditorStyle>
                <Style TargetType="{x:Type igEditors:XamComboEditor}">
                    <Setter Property="ItemsSource" Value="{Binding ItemUOMs}" />
                    <Setter Property="DisplayMemberPath" Value="UOM" />
                    <Setter Property="ValuePath" Value="UOM" />
                    <Setter Property="Value" Value="UOM" />
                </Style>
            </igDP:FieldSettings.EditorStyle>
        </igDP:FieldSettings>
    </igDP:Field.Settings>
</igDP:Field>