Hi
I tried to implement a custom filter for an unbound column where I can type some text for a filter. Could you show how can I do it?
I want to create something similar as contains filter in the default text column.
Hello Andrey,
You're welcome. I am glad I was able to assist you.
thanks, it works :)
Thank you for contacting Infragistics. I've attached a sample below to assist you with adding custom filters to unbound fields. The XamGrid does all of its filtering via linq. Which means the field you're filtering on expects there to be a property on your underlying data objects.
You can provide your own custom filter, because the XamGrid does not know enough information about what's being displayed in the unbound column to perform the filtering. Thus, custom filters are beneficial because you know about the underlying data and can easily provide the filtering mechanism the information it needs.
The sample I attached uses custom filters. You may learn more about this feature on our website: http://help.infragistics.com/Help/Doc/Silverlight/2016.1/CLR4.0/html/xamGrid_Create_a_Custom_Filter.html
Another approach, and this all depends on how locked in you are into your data, is to just add another property to your underlying data object that provides the calculated values. Then you would get all of our data manipulations for free.
Let me know if you have any questions.