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

[Solved] Dynamic Filtering/Sorting/GroupBy

0 Answers 95 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.
Mr Chas
Top achievements
Rank 1
Mr Chas asked on 11 Sep 2010, 02:47 PM
I am using the telerik MVC grid. Good stuff so far but need to know a couple of things:

1) Is there anyway to set up the grid in AJAX databing mode to preset filters or sorting based on query string parameters? I tried putting them into ViewData on first post and reading from there but it looks like filtering on allows strongly typed filter assignments (e.g. I have to specify the filed name to filter on when I add a filter). Any way to do this dynamically?

2) If I am doing custom databinding how would I implement the group-by on a IEnumerable with just the group-by string. I guess I could do this like sorting but then it only support one group-by parameter. It seems you must have this figured out as your grid supports multi groupings today?

Hope these questions make sense.

Thanks!
Tags
Grid
Asked by
Mr Chas
Top achievements
Rank 1
Share this question
or