This is a migrated thread and some comments may be shown as answers.
Two grids - Filter on Grid 1 - Show inverted results on Grid 2
1 Answer 12 Views
This is a migrated thread and some comments may be shown as answers.
hkdave95
Top achievements
Rank 2
hkdave95 asked on 08 Mar 2014, 10:55 AM
Hi

I have two grids.

Grid 1 - User filters out records that are not required.

Grid 2 - I would like to show the records that have been filtered out of Grid 1

Please can you tell me the best way to acheive this?

Kind Regards

David

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 11 Mar 2014, 03:59 PM
Hello David,

This could be achieved by subscribing to the change event of the first Grid's DataSource. Once the event is triggered you can check the first Grid filter and manually build another filter with the opposite criteria, then apply it to the the second Grid using the dataSource.filter method. 

Regards,
Alexander Popov
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Tags
Grid
Asked by
hkdave95
Top achievements
Rank 2
Answers by
Alexander Popov
Telerik team
Share this question
or