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

[Solved] Filtering grid rows on fields not displayed in the grid

1 Answer 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adam Barney
Top achievements
Rank 1
Adam Barney asked on 13 Jul 2011, 06:15 PM
How do I filter on fields that are not displayed in the grid?  I have a complex entity (RegistrationNotice) that I want to display in a grid.  I am only showing a few fileds in the grid - enough to uniquely identify the record to the user in a meaningful way.  But I want to be able to filter on many other fields.  Do I need to all EVERY field I want to filter on (even if they are just hidden)?  What if I want to do something more complex with filtering - say, show only rows with child rows that have a certain status?

I have an area above the grid when I want the user to be able to specify the filter criteria.  Is there a way to pass along the information the user has entered here to the Ajax binding action on the controller in order to do this filtering?

Thanks!

Adam

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 14 Jul 2011, 08:43 AM
Hi Adam Barney,

 If you want to filter using the grid filtering UI you need to have a column for that field. Otherwise you can use the filter client-side method.

Regards,
Atanas Korchev
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
Adam Barney
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or