I have a Grid with dynamic number of column (using ExpandoObject) and I want to create a custom row filter with a single text input field that uses a kind of simple wildcard logic I've already written, like "joh*" and so on. My question is how I call my wildcard method. I've started out with a FilterCellTemplate and TelerikTextBox where I can capture ValueChanged and I have access to the new value and the FilterCellTemplateContext. But how to continue? I've search the website without much success. Is it possible to call my wildcard logic from a custom FilterDescriptor?
I have managed to create an Expression<Func<ExpandoObject, bool>> expression which seems to work fine when I use it togeather with a Queriable List of ExpandoObject. But how do I add it as a FilterDescriptor or to the list of descriptors in cases where the user wants to filter on more columns than one? I've looked at context.FilterDescriptor.CreatefilterExpression(myExpression) but it throws an ArgumentException.