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
15
XamDataGrid combobox filtering and selection
posted

Hello,

I'm trying to add a XamComboEditor into my XamDataGrid and I'm facing 2 issues:

1- When I populate my XamComboEditor, it displays everything as expected, but when I click on any of the values the box closes and doesn't update the value in the grid. Below is the code that I'm using:

<igDP:Field Name="Property" Label="text">
                                                        <igDP:Field.Settings>
                                                            <igDP:FieldSettings EditorType="{x:Type igEditors:XamComboEditor}">
                                                                <igDP:FieldSettings.EditorStyle>
                                                                    <Style TargetType="{x:Type igEditors:XamComboEditor}">
                                                                        <Setter Property="ItemsSource" Value="{Binding DataItem.ObservableCollection}" />
                                                                        <Setter Property="IsEditable" Value="True" />
                                                                    </Style>
                                                                </igDP:FieldSettings.EditorStyle>
                                                            </igDP:FieldSettings>
                                                        </igDP:Field.Settings>
                                                    </igDP:Field>

2- I need to filter the values when typing in the box, e.g. Items = one,two,three, if I type "t" two,three should only show as options.