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
Hi Yanko, my sample code is in the attached file.
Hello Hawellek,
I have been looking into your sample application and the filtering is case insensitive(e.g. press ‘P’).
Is there anything that I am missing ?
hi Yanko,if I used the CustomItemsFilter and FilterMode="FilterOnAllColumns" filtering is only on the primary field.If you run the code and type a letter in the combobox, the letter was cleared, only numeric values of the primary column goes.
Thank you for your feedback. Please modify the sample application to meet exactly the scenario that you are describing. If the entered letter is not found anywhere, the editor clears it automatically. This is the default behavior.
Hi Yanko,
sorry, but I had set the CustomItemFilter in the initialized event and it works as if it is not set. If is set in the loaded event, than the issue appears like described.If the CustomItemFilter is not set and I type "n" I get one record, if I type "N" I get another one, if I type "ame" I get both.I would like to type "name" (Case Insensitive) and get both.
Thanks...
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
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.
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.