I have two
gridviews that are bound to the same QueryableCollectionView. I need the
selected items of the two gridviews to be the same at all times.
to be some built-in funtionalty like this. If a select a row in GridView1 the
same row will be selected in GridView2. But if I select multiple rows in
GridView1, only the first selected of those rows will be selected in GridView2.
How can I
sync the selection between the gridviews?
I used to have the gridviews bound to the same RadObservableCollection. Then I synced the selection manually on the SelectionChanged-event on GridView1 like this:
sender, SelectionChangeEventArgs e)
That worked fine, but I doesn't work now when I've switched to using QueryableCollectionView. When I clear the selected items of GridView2 the selected items of GridView1 will also be cleared. So it seems to be some built-in sync here (I'm guessing the QueryableCollectionView keeps track of selected items), but not like I need it to work