Custom Grid Filtering

2 posts, 0 answers
  1. Fernando
    Fernando avatar
    2 posts
    Member since:
    May 2013

    Posted 14 May 2013 Link to this post


    I have a Subscription Object with the field Name that is displayed in the grid.
    Inside that  Subscription Object is a list of Beneficiaries Objects with the field Name.

    What i'm trying to do is, when filtering by the Subscription name, i'm also going to search in the  Beneficiaries list (in the field name).

    I Hope that i was explicit enough.

    Best Regards,
    Fernando Moreira

  2. Andrey
    Andrey avatar
    836 posts

    Posted 17 May 2013 Link to this post


    If I understand correctly you have a hierarchical datasource and you have bound the Grid to the first level but when you are filtering you want to include the data from the inner level in the filtered data. Is that correct?

    If this is the case I am afraid this is not available out of the box. The way to achieve your goal is to include both level into a single container. This could be done with Join if you are using SQL or Entity Framework or you could create a new array/list that will be filled with all the data.

    Give these suggestions a try and you should succeed.

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Telerik UI for ASP.NET Core is out
Back to Top