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

Custom Grid Filtering

1 Answer 31 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 14 May 2013, 03:41 PM
Hi!

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

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 17 May 2013, 11:40 AM
Hello,

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,
Andrey
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.
Tags
Filter
Asked by
Fernando
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or