When I enter text to filter drop down it seems as it is case sensitive. Is there a way to cause the filter case insensitivity.
Hello,
I have been looking into your post and you can achieve the desired functionality using ‘ItemFilter’ like e.g. :
ItemsFilter filter = new ItemsFilter();
filter.ObjectTypedInfo = new CachedTypedInfo()
{
CachedType = typeof(Product)
};
filter.Conditions.LogicalOperator = LogicalOperator.Or;
filter.Conditions.Add(new ComparisonCondition()
Operator = ComparisonOperator.Contains,
FilterValue = ""
});
this.multiCombo.CustomItemsFilter = filter;
For more information regarding how to use the XamMultiComboEditor, you can look through the following link from our online documentation :
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamMultiCCE_Using.html
Let me know, if you need any further assistance on this matter.
Hello, I have the same problem and if I used the CustomItemsFilter and FilterMode="FilterOnAllColumns" filtering is only on the primary field. All columns are string. Version 13.1.20131.2032
Boricua, thank you for your feedback. I am glad that you have managed to solve you issue.
Hawellek, please set the CustomItemFilter in the ‘Initialized’ event instead of in ‘Loaded’.
Hi,I could isolate the issue: without CustomItemsFilter it works over all columns (case sensitive), with set filter and FilterMode="FilterOnAllColumns" it works only on the column that is set in DisplayMemberPath, also the setting ItemsFilter.FieldName is without effect!Because I have a number (string) in the column to be displayed, the filter does not work, the filter works only with the values of the column set in DisplayMemberPath.Please, help ... I need the filtering over all columns with case insensitive.
Hello Hawellek,
I have been looking into your issue and when you set ‘DisplayMemberPath’, filtering is fired only for this column when there is a defined filter item.
This is the design behavior.
Hi Yanko,
shame, the kompetition has a property for case-sensitive.
Is there no other way, instead of programming everything myself? Not to do that, we have acquired the tools.
I've attached a sample application(xamMultiColumnCombo-CustomFiltering.zip) that demonstrates how to create a custom ItemsFilter that you can use to filter across multiple fields when you have DisplayMemberPath set. It allows you to specify which fields you want to filter by and how you want to filter them; either with Contains or StartsWith.
I was following a similar workaround to address this case insensitive filtering in xamMultiColumnCombo control. Just came to know yesterday that there is new Service Release on June 26, 2013 which addresses this problem and no need for custom coding required.
The Service pack of 2012.2 has been tested. But looks like a similar service is available for 2013 as well.
Hope this helps.
Thanks,
Parvez.
Please create a separate thread for the new issue that you have met. This way other visitors of our community can get benefit from your experience.
Thank you for the understanding.
thanks for the sample. Filtering is now no problem.
Much more serious is the following issue: if the XamMultiColumnCombo have keyboard focus and the user types in nothing or not select anything and goes to another editable control (lost focus), first or second time the control select automatically the first row in the combo.If you expand your sample to two textboxes, one before and one after the combo, and go with the tab key through the controls then you see it (first or second time) also if you open the combo with mouse and closed it. For a correction I would by very grateful.Also the column width, the user can not change.
Best rigardsHallewek