This is a migrated thread and some comments may be shown as answers.

Filter contains a value of List<string>

0 Answers 51 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
MaiK
Top achievements
Rank 1
Iron
MaiK asked on 23 Mar 2021, 12:34 PM

Hello,

 

I had made a custom filter in unbound mode for some properties. Boolean properties and enum properties works well, but im trying to filter a proerrty of List<string>. I have made the ItemPropertyDefinition correctly and shows well in the data filter, and I cant select from multiple values, but when I select a value, it does not filter.

 

Is there any event where I can manipulate the filtering condition? To do something like:

itemsource[x].ListProperty.Any((value) => String.Equals(value, filterSelectedValue));

 

Or is other way to solve it?

 

Thank you and kind regards!

No answers yet. Maybe you can help?

Tags
DataFilter
Asked by
MaiK
Top achievements
Rank 1
Iron
Share this question
or