Filter List<Object> with MemberColumnFilterDescriptor collection

2 posts, 0 answers
  1. Pablo
    Pablo avatar
    8 posts
    Member since:
    Feb 2016

    Posted 23 Jun Link to this post

    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

  2. Martin Vatev
    Admin
    Martin Vatev avatar
    87 posts

    Posted 27 Jun Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top