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

[Solved] Filtering on grids with viewmodels

0 Answers 13 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mikal
Top achievements
Rank 1
Mikal asked on 01 May 2012, 10:10 AM
I'm querying a database using EF, converting the results to viewmodels that contains some extra calculated values, and then displaying it using a MVC Grid.

Now I would like to enable filtering on the grid.
As I understand it, the grid will automatically perform the filtering operations on the database itself, if passed a proper datacontext object as the datasource. How can I ensure that this still happens when using viewmodels.
Tags
Grid
Asked by
Mikal
Top achievements
Rank 1
Share this question
or