Here is the senario.
I have a ObservableCollection with let say 100 items. I have clicked on and selected row # 60. Then I delete row 50 to 100, and instantly add 50 new rows (I have now 100 items again. The grid "auto updates" as the type of collection, But I loose my selection.
I can get what row that was selected before my update, and select it agan. But now that row is at the top of the grid. I want the selection to be at the same place as before update.
How can I scroll the grid to that same position?
I have a ObservableCollection with let say 100 items. I have clicked on and selected row # 60. Then I delete row 50 to 100, and instantly add 50 new rows (I have now 100 items again. The grid "auto updates" as the type of collection, But I loose my selection.
I can get what row that was selected before my update, and select it agan. But now that row is at the top of the grid. I want the selection to be at the same place as before update.
How can I scroll the grid to that same position?