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

Sample for GridView filter, Select all, MVVM and Dynamic data refresh

1 Answer 78 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Nils
Top achievements
Rank 1
Nils asked on 12 Mar 2013, 09:47 AM

Hi,

We are using Silverlight, MVVM, Prism and Telerik controls. One of our view have GridView with filters enabled, two buttons and "Select All" check box on Header row of grid. Each row also have "Selected" Checkbox. One button is "Refresh" and other is "Process". "Refresh" button gets the records from service and populates it to the "Records" collection of ViewModel; which in turn refreshes the GridView. Anytime Refresh is clicked, records will be fetched from server and populated on GridView clearing all the filters. "Process" button processes the currently selected records (Records with “Selected” checkbox checked.

"Select All" check box should select all records currently visible on grid. We are looping thru’ the "Records" collection of ViewModel to get these records but we always get all the records and not the filtered one.

I tried QueryableCollectionView but no success. Please let me know if you can provide me similar sample to solve this problem.

Thanks,

Nilesh

1 Answer, 1 is accepted

Sort by
0
Nils
Top achievements
Rank 1
answered on 04 Apr 2013, 03:00 PM
Hi All,

Your help is appriciated. Please provide some information.

Thanks,
Nilesh
Tags
GridView
Asked by
Nils
Top achievements
Rank 1
Answers by
Nils
Top achievements
Rank 1
Share this question
or