Problem with DataGrid.SelectedCells with collapsed rows

Aug 25, 2009 at 2:20 PM

On the datagrid, if we set some rows visibility to be collapsed and select a continuous list of cell values in any column (using the shift key), the cells of the rows that are collapsed are also selected as part of the DataGrid.SelectedCells.

Aug 25, 2009 at 9:48 PM

Hey Viveks,

Unfortunately this is not behavior we are planning on changing; your best bet will be to work around this limitation by removing and re-adding items to your collection when you want them collapsed and made visible again.  If it helps you can consider changing the DefaultCollectionView to help you filter based on specific conditions.  Sorry for the inconvenience!