Hello,
Is there a way to customize the auto-complete function that is built-in into the isEditable attribute ? I'm having an issue; when typing the first character the function works fine and shows me the appropriate recommendation, but when I type the second and forth character it just doesn't show anything. At this point, if you delete the character and type it again, the function works again. Do you have any idea on how to solve this or if there is a way to make my own autocomplete function for this ?
More explicitly, this is the problem:
I want ABCDE
Type A shows ABCDE
Type B shows nothing
Erase B and type B again shows ABCDE ??
Type C shows ABCDE
Type D shows nothing ??
Hello Charlie,
Thank you for contacting Infragistics!
I have some follow up questions:
What version are you using?Which XamComboEidtor are you using?How are you currently setting it up?
The best way for us to assist you is if you provide a small isolated sample that we can run and use for debugging locally. If you are unable able to provide an isolated sample I may be able to give suggestions if you provide the code for your page.
Hello Mike,
I'm using v18.1. This is a little example on where I have the XamComboEditor:
<igDP:XamDataGrid Name="Grid"> <igDP:XamDataGrid.FieldLayoutSettings> <igDP:FieldLayoutSettings AutoGenerateFields="False" ExpansionIndicatorDisplayMode="Never"/> </igDP:XamDataGrid.FieldLayoutSettings> <igDP:XamDataGrid.FieldSettings> <igDP:FieldSettings CellClickAction="SelectCell" LabelClickAction="Nothing"/> </igDP:XamDataGrid.FieldSettings> <igDP:XamDataGrid.FieldLayouts> <igDP:FieldLayout> <igDP:Field Name="Field" Label="Field"> <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="DisplayMemberPath" Value="ID" /> <Setter Property="IsEditable" Value="True" /> <EventSetter Event="TextChanged" Handler="ComboBoxFilter"/> </Style> </igDP:FieldSettings.EditorStyle> </igDP:FieldSettings> </igDP:Field.Settings> </igDP:Field> </igDP:FieldLayout> </igDP:XamDataGrid.FieldLayouts> </igDP:XamDataGrid>
I followed the steps you suggested and was unable to reproduce the behavior you're describing. I created a grid with a combo editor. When I type the value I want it goes to that value without issue.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, then the change in behavior is due to differences in your environment from mine and these differences can be anything from operating system version to the specific version of the Infragistics DLL versions used. My test was performed using version 18.1.20181.255 in Infragistics for WPF 2018 Volume 1. Please provide more details about your machine and version of the assemblies that you are referencing so that I can modify the environment that I am testing in to match yours.
If the project does show the product feature working correctly, then more information will be needed to reproduce the issue in a sample that can be used for debugging. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing. This can be done by either be done by making the sample that I provided more like your application or by isolating the behavior from your application by removing dependencies on any third parties or databases.
Please let me know if I can provide any further assistance.
7801.XamDataGrid.zip