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

Filtering records based on the subset of datasource of gridview

1 Answer 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pankaj
Top achievements
Rank 1
Pankaj asked on 10 Apr 2012, 12:24 PM
I have a grid view which is bound to a collection in view model. I have another collection in view model and i want grid to be filtered for the records. i can have itemssource changed to this new collection but that wont allow me to clear filters in grid UI to see all the records. I didn't find anything on your blogs to programatically set the filter in MVVM model.
Filterdescriptors looked somewhat suitable but there is no operator like 'IN' and 'value' cannot be bound to a list.

Please suggest how this can be achived.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 10 Apr 2012, 12:26 PM
Hello,

 Maybe you need to disable the grid filtering and create your own UI to achieve your goal in this case. 

Kind regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Pankaj
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or