Hello,
We have a grid with more than 100 columns. And we are trying to use the 'FieldChooser' dialog to enable user to choose a field. However, there is no 'search' functionality in that particular dialog. We would like to add a XamComboBox, which allows auto complete, where users can put couple of letters to choose from and the list of fields will be updated based on the user search. We took the generic style for FieldChooser and start updating but so far could not get the functionality that we would like to have. Can you please let us know how to get this functionality to the FieldChooser?
<DockPanel Visibility="{TemplateBinding FieldGroupSelectorVisibilityResolved}" > <editors:XamCheckEditor x:Name="toggleAllCheckBox" DockPanel.Dock="Left" IsThreeState="false" Value="{Binding Path=AllCurrentFieldsVisible, RelativeSource={x:Static RelativeSource.TemplatedParent}, Mode=TwoWay}" Visibility="{Binding Path=DisplayHiddenFieldsOnly, RelativeSource={x:Static RelativeSource.TemplatedParent}, Converter={StaticResource NotBoolToVisConverter}, Mode=OneWay}" Margin="4,0,0,0" /> <!--This is the combobox that we implemented which is shown for field group selectors.--> <ig:XamComboEditor x:Name="fieldGroupSelector" DockPanel.Dock="Right" ItemsSource="{TemplateBinding CurrentFields}" HorizontalAlignment="Stretch" DisplayMemberPath="Field.Name" OpenDropDownOnTyping="True" SelectedItem="{Binding Path=SelectedField, RelativeSource={x:Static RelativeSource.TemplatedParent}, Mode=TwoWay}" /> </DockPanel>
Hello Murat,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your issue and send it back to me for further investigation.
Looking forward for your reply.
Hello Andrew,
Thank you for your response that resolved the keyboard input issue. However, the sample Stefan provided does not provide the actual functionality. First with the 'StackPanel' usage we use the 'ScrollView' on the Listbox. We have resolved the issue by switching to a Grid. However, still when we do filtering Listboxjust starts showing the elements when you scroll through the grid. I would be glad if you can test the example he sent and make sure that it works.
Best regards,
Murat.
If you are going to (directly or indirectly) use any ToolWindows within a Windows Forms application then you'll need to invoke the static EnableModelessKeyboardInterop method on the Infragistics.Windows.Utilities class so that ToolWindow will call that method for the WPF Window with which it gets associated.
Hello Stefan,
ToolWindow.Parent throws a null pointer exception, we are using 13.1 here. Did you test this sample?