GridView: ArgumentOutOfRangeException when a column filter is updated by the currently selected item
ArgumentOutOfRangeException with the following message is thrown: 'DataGrid_DisplayIndexOutOfRange Parameter name: displayIndex'
The error appears when the SelectionUnit is Mixed and when you select a row, and then filter the data so that the selected row is in the filtered results.
To work this around, clear the selection before applying the filters and restore it after this.