The customer wants a "move next" and "move previous" button toward the bottom of the page (not on the grid itself). I was able to accomplish this "almost". As in a lot of things I've tried to accomplish in silverlight I get 98% there and find something that isn't quite right.
Here is my current code:
DomainDataSourceView ddsv = (DomainDataSourceView)rgvNotes.ItemsSource;
rgvNotes.CurrentItem = ddsNotes.DataView.CurrentItem;
rgvNotes.SelectedItem = ddsNotes.DataView.CurrentItem;
*NOTE: Code similar for "Move Previous"
The issue occurs when a column is clicked and the data is sorted. The dataview order doesn't change and I can't find the list that is sorted. I know a sort descriptor is attached to the gridview but I have not figured out how to get the sorted list, find next or previous, and select it.
I did find something in the notes about a "GridNavigator" but that does not appear to be on the silverlight control. Is there a newer silverlight version of the control with this functionality? We are currently on SL3 and hopefully moving to SL4/VS2010 very soon.