Is it possible to scroll to a specific row (by object id) in a Silverlight DataGrid that has an ItemsSource , which is a PagedCollectionView .
I upload a list of orders that are grouped by date / status, etc. I need to scroll to a specific order.
var pcv = new PagedCollectionView(e.Result.Orders); gridOrders.ItemsSource = pcv;
Unfortunately, ScrollIntoView(order) does not work due to PagedCollectionView .
The MSDN DataGrid article shows that you can go to a group in a PagedCollectionView , but this is not very used.
foreach (CollectionViewGroup group in pcv.Groups) { dataGrid1.ScrollIntoView(group, null); dataGrid1.CollapseRowGroup(group, true); }
Is there any way to do this?
silverlight datagrid datagridview
Simon_Weaver
source share