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

Filter List<Object> with MemberColumnFilterDescriptor collection

1 Answer 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pablo
Top achievements
Rank 1
Pablo asked on 23 Jun 2016, 01:28 PM

Dear team,

for some reason I have a collection of MemberColumnFilterDescriptors and I must apply these filters to a List in my ViewModel. It exists a way to do that? Maybe creating a "where" predicate to include in a linq or something?

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 27 Jun 2016, 01:31 PM
Hi Pablo,

Please take a look at Programmatic Filtering article where you can see how to access the members of Col
umnFilterDescriptors and in general how FilterDescriptor is used by the data engine. In an analogical way thought LINQ expression you can filter a collection in your ViewModel. You can also take a look at programmatic filtering demo for reference.

I hope this helps.

Regards,
Martin Vatev
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Pablo
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or